Here's one that works fine for me. It display the local time on your
computer:
Put the script below in the HEAD section of your page or in a common js
file.
<!-- Output Header Time display -->
<script>
function padout(number) { return (number < 8) ? '0' + number : number; }
function updateClocks() {
now = new Date();
document.forms[0].timenow.value = padout(now.getHours()) + ':' +
padout(now.getMinutes()) + ':' + padout(now.getSeconds());
now.setTime(now.getTime() - (1000*60*60*12));
setTimeout('updateClocks()',500);
}
</script>
----------
Put the code below where you want the clock to display. Add text as
desired.
<form name="time">
<font face="Arial, Helvetica,
sans-serif"><b><input
name="timenow" type="text" size="6">
<script language="JavaScript" type="text/javascript">
updateClocks()
</script>
</b></font>
</form>
Larry