Java Time Issues
Anybody ever deal with UTC time in Duet? It is my understanding that my PC and AMX master both synced to network time should have very similar values for "Date.getTime()" and "System.currentTimeMillis()", as both should be a count of the number of milliseconds elapsed since Jan 1 1970. Displayable time would then be calculated via a TimeZone offset. My Date.getTime() value differs by 5 hours or more, currentTimeMillis by about 3 hours. (Both depend on wether you use integer math or not). Anybody know what is going on? I am trying to generate time stamps on a PC (in Java) and use them in Duet, not sure about using an arbitrary offset because not sure what timezones this might be used in.