clock : Java Glossary

clock
In a PC (Personal Computer) are two clocks, a more accurate clock calendar and a less accurate a tick counter. The tick counting clock is reset from the clock calendar every time you reboot. This is why your screen clock tends to be more accurate just after a reboot. You can reset both clocks from an highly accurate atomic clock. Unfortunately Microsoft and Linux/Unix people use the CMOS (Complementary Metal Oxide on Silicon) clock in incompatible ways. This can cause trouble on dual boot machines. Perhaps the easiest way to deal with this is to call w32tm.exe /resync in Vista/W7-32/W7-64 to resync your clock indirectly from an atomic clock on the web on boot. You configue a more reliable time source with Control Panel ⇒ Date and Time ⇒ Internet Time ⇒ change settings ⇒ pool.ntp.org. Make sure you have your time zone also configured correctly with DST (Daylight Saving Time) correction on. w32tm.exe will only work after the W32Time service is started On older Windows machines, you can use SetClock.

Vista supplies Java with UTC (Coordinated Universal Time/Temps Universel Coordonné). It then uses its own time zone tables and DST information to convert to local time.


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/clock.html J:\mindprod\jgloss\clock.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.211]
You are visitor number 12,071.