<div id="clock"></div>
<script type="text/javascript" language="JavaScript"><!--function setClock() {var date = new Date();document.getElementById("clock").innerHTML = date.toLocaleString();}setInterval("setClock()", 500);//--></script>