time sources : Java Glossary

go to home page T words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 2008-03-09 Roedy Green, Canadian Mind Products
time sources
In our technological world there are many ways you can get the current time and date. Here is an eclectic list of time sources:
  1. From GPS satellites. GPS provides a most excellent time source since it naturally compensates for propagation delay and is immune to network congestion and weather.
  2. setclock icon SetClock is a Java Applet you can run on your PC. It will get the accurate time from an atomic clock on the web provided by pool.ntp.org.
  3. From an atomic clock timeserver on the web using NTP (Network Time Protocol). Timeservers come is various grades of accuracy. You are not supposed to pester the very accurate ones. They are for the secondary servers. Here is list of them.
    Last revised/verified: 2000-01-01
  4. java.lang.System.currentTimeMillis () will give you the time in milliseconds since 1970 Jan 1 0:00 GMT. This is your best bet for computing elapsed times. Freshly minted java.util.Date objects contain the current GMT date/time stamp as do freshly minted java.util. GregorianCalendar objects.
  5. Time.gov is a government website that will give you local time.
  6. Windows Vista will consult a Microsoft web clock if you issue the command w32tm.exe /resync or right click the time display in the bottom right and select adjust date and time. If time.windows.com is not reliable, you can configure the timeserver to a different one, perhaps from pool.ntp.org, e.g. us.pool.ntp.org.
  7. pool.ntp.org maintains a set of servers all over the world. You can find one just by prefixing your 2-letter country code e.g ch.pool.ntp.org for Switzerland or ca.pool.ntp.org for Canada.
  8. atomic wall clock From the NIST WWVB radio signal broadcast from Fort Collins, Colorado. This is how high tech wall clocks and wrist watches maintain perfect time and know when to flip back and forth to daylight savings. They are called analog atomic clocks and digital atomic clocks, though there is nothing radioactive in them. They are merely radio-synchronised from a government atomic clock.
    radio-synched clocks for more details and information on where to buy them
  9. From a signal PBS embeds in its TV broadcasts. This is how VCRs can get the time automatically.
  10. From the CBC radio time signal each day at 10 AM on the FM broadcast stations.
  11. From a signal broadcast on the AC power, put here by the utility company.
  12. From your TV Station broadcast channel guide.

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/timesources.html J:\mindprod\jgloss\timesources.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.102]
You are visitor number 5,085.