Using RB 4.0.2:
If using ParseDate("7/4/1776",d)
d.TotalSeconds = 18446744065391368192 (using format (d.totalseconds,
"#.0;-#.0"))
Then the d.shortdate + " " + d.longtime is 07/03/1776 11:57:51 PM
The TotalSeconds is a double. It is more digits (20) than a double can
handle (16+?). I think this accounts for the difference between
07/03/1776 11:57:51 PM and 7/4/1776 12:00:00 AM.
It looks like they are using an integer for total seconds in the Date
class, but forgetting about the negative bit for the total seconds
property when changing it to a Double.
Anyone know of a workaround?
Thanks,
Roger Carey
|