I’m using xojo.core.date to help me set the appropriate date/time by time zone. The lines of code below seem to work fine on Mac, but cause the error below it on Linux. Am I invoking it incorrectly or is it a bug that an update would fix? (I’m using 2015 R3)
CODE:
Dim PSTZone As New Xojo.Core.TimeZone("UTC-7:00")
PSTDate = new Xojo.core.date(Xojo.Core.Date.Now.SecondsFrom1970, PSTZone)
ERROR:
xojo.core.invalidargumentexception in session