Another Running Clock

The Day of the Week Is:

The Time & Date Is:

The The Day, 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">
The Day, Date & Time Is:<input type="text" size=38 name="todaytimetext">
</form>

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