Site hosted by Angelfire.com: Build your free website today!

Another Running Clock

The Day of the Week Is:

The Time & Date Is:




The code to do this

<form name="form">
The Day of the Week Is:<input type="text" size=13 name="todaytext">
The Date & Time Is:<input type="text" size=25 name="timetext">
</form>

<script language="javascript">
function clock()
{
var now=new Date();
time=now.toLocaleString();
document.form.todaytext.value=' '+time.substring(0,8);
document.form.timetext.value=' '+time.substring(10,time.length);
timerID=setTimeout("clock()",1000);
}
clock();
</script>


Email: packrat35@webtv.net