
The following HTML elements (DIV, P, SPAN, and TD) are updated every two
seconds with the current time for the labeled time zones.
Local clock (DIV element):
time
Pacific Standard Time (even during Daylight Saving Time) (shown inside a P
element):
time
Eastern Daylight Time (shown inside a SPAN element):
time
Chatham (New Zealand) Standard Time (shown inside a TD element):
The following HTML Input element is updated with the Universal Coordinated Time
(Greenwich Mean Time).
Use these buttons to stop and start the clock updates.
This sample Start button sets the update interval to every one second, instead
of two seconds.
Click this button to change the formatting of the clocks to a custom format
^ Back to top
|