K
Karl Uppiano
I have a somewhat time-critical application (Java Standard Edition 1.6) that
uses the system time (System.getCurrentTimeMillis) in various forms, such as
creating Date objects initialized to the current time. I don't require high
precision, but I do require reasonable accuracy.
I noticed that my application was two minutes "off time", so I checked the
Windows time and found that it had synced with the NIST time servers a
couple of hours earlier. Windows was on time. How does Java chase platform
time?
uses the system time (System.getCurrentTimeMillis) in various forms, such as
creating Date objects initialized to the current time. I don't require high
precision, but I do require reasonable accuracy.
I noticed that my application was two minutes "off time", so I checked the
Windows time and found that it had synced with the NIST time servers a
couple of hours earlier. Windows was on time. How does Java chase platform
time?