<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>