![]() |
|
Atomic Clock![]() This clock provides 10 seconds of real-time atomic clock data from the US Naval Observatory in Washington D.C. Press "Reload" to restart the display. This clock may not work with all browsers. Older versions of Microsoft Internet Explorer has a bug in their support for the multipart/x-mixed-replace mine type. Older versions of Safari also fail to display this clock, while Firefox, Mozilla, Netscape, and Opera displays it correctly. Here is the HTML code to call the Atomic Clock display: <img src="http://tycho.usno.navy.mil/cgi-bin/nph-usnoclock.gif? zone=CDT|ticks=10" alt="Sorry, Your Bowser Is Not Supported">
An alternative to the animated clock is this static time display. It should
work with all browsers since it downloads as a standard web bitmap image.
Here is the HTML code to call this time display: <img src="http://tycho.usno.navy.mil/cgi-bin/xbmclock.xbm?zone=CDT">
Another option is to display a clock in the status bar at the bottom of your
browser screen. This clock is based your local PC time. It works best if
you set up your workstation to synchronize its clock with an Internet time
standard. Again, browser support varies with the version of your browser.
Here is the JAVAscript code for the local time display below. Place this code in the <Head> section of your HTML page.
<script type="javascript"> To actually run this script, add the following code to your <body> tag: <body onLoad="showTime()">
Thanks to the US Navy for providing on-line access to the atomic clock
time services. For more information, visit the US Naval Observatory, Time
Service Department, at
tycho.usno.navy.mil.
|
![]() |
Authored by John A. Weeks III, Copyright © 1996—2016, all rights reserved. For further information, contact: john@johnweeks.com
|