hi waez, i think the Date class is intended to reflect coordinated universal time (UTC), it may not do so exactly, depending on the host environment of the Java Virtual Machine. Nearly all modern operating systems assume that 1�day�= 24���60���60�= 86400 seconds in all cases.
Normally system assume 1 seconds = 10 milli seconds. so i think date object is taking the UTC format.
posted 10 years ago
Windows might have 10 milliseconds to the second, but I always use 1000.
Actually, I think the java.util.Date class field is not time-zone dependent. It records how many milliseconds there have been since a time the same as 00:00:00.000 1st January 1970 in GMT, and it has to be corrected for local time-zones.
Actually we didn't use GMT that Winter in Britain, so the time represented was actually 1am here. And nobody knew it was the "epoch" since that time hadn't been decided yet!