08-06-2008 03:17 AM
08-06-2008 03:33 AM
If u observe the output of subtraction function, it will show '0.0069999' or 6-7 milliseconds as the difference ( which is what you expect)
But then, you are converting that into timestamp which is the time-zone-independent number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time.
Hence the incorrect result
08-06-2008 06:53 AM
08-06-2008 10:58 AM - edited 08-06-2008 10:58 AM
08-06-2008 11:48 AM
08-06-2008 11:56 AM
08-06-2008 12:42 PM
To be honest, I didn't investigate it. I was just curious to see what would happen, and I just left it at that.
@johnsold wrote:
I think you sent a negative number to the timestamp indicator? Some combination of the difference, daylight savings time and time zones.