[Gambas-user] [Gambas Bug Tracker] Bug #1097: Date.ToUnixTime loses a day

bugtracker at ...3416... bugtracker at ...3416...
Sun May 7 19:47:04 CEST 2017


http://gambaswiki.org/bugtracker/edit?object=BUG.1097&from=L21haW4-

Comment #4 by T. Lee DAVIDSON:

Revision #8133 apparently has not hit the Packman repo yet. But, I can confirm that:
DateDiff(Date(1970, 1, 1), Now, gb.Second) + System.TimeZone

produces output that matches:
Shell "date +%s"

Thank you, Benoît.

T. Lee DAVIDSON changed the state of the bug to: Fixed.






More information about the User mailing list