Date and Time

new Date() can be used to obtain the date and time of day

Try Reload.


By setting a time-out a JavaScript procedure can be regularly reactivated to write the current time. The procedure gets the date and time, sets the value of a text field in a form and sleeps for one second before being rerun:


The source of this page is [here]

L.Allison Department of Computer Science, Monash University, Australia 3168 / 1997