How to convert a Windows millis timestamp to Java millis
843829Oct 13 2003 — edited Apr 30 2004Hi All,
does anybody have an idea on how to easily convert a millis timestamp returned by GetSystemTime to a Java timestamp used in java.util.Date?
From the Windows SDK documentation it seems that times are expressed in millisenconds since January 1, 1601, whilst Java uses millisecond since January 1, 1970 UTC.
Any idea?
Thanks in advance