http://gambaswiki.org/bugtracker/edit?object=BUG.1097&from=L21haW4-
Comment #2 by T. Lee DAVIDSON: The output I get is: 04/25/2017 20:53:43 04/28/2017 12:07:32 04/27/2017 12:07:32 Lines 1 & 2 are correct at local time (GMT-4) Line 3 is a day behind. With the following: Dim sEpochSeconds As String Shell "date +%s" To sEpochSeconds Print Trim(sEpochSeconds) Print Date.ToUnixTime(Now) I get: 1493396203 1493309803 The Date.ToUnixTime(Now) value is exactly 86400 seconds (24 hrs) less. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user