Clock




Use this code to put this clock on your page
<center>
<form name="clock">
<input name="face" type="text" value="hh:mm:ss" size="8">
</form>
<script language="javascript">
<!--
updateClock();
function updateClock()
{
var time=new Date();
var hours=time.getHours();
var minutes=time.getMinutes();
var seconds=time.getSeconds();
document.clock.face.value=
((hours<10)?'0'+hours:hours)+':'+
((minutes<10)?'0'+minutes:minutes)+':'+
((seconds<10)?'0'+seconds:seconds);
setTimeout("updateClock()",1000);
}
//-->
</script>
</center>



...................