Does anyone know the correct core timezone abbreviations for Mountain time and Eastern time? When I use “MST” I get the same time as “PST” and when I use “EST” I get the same time as “CST”. For example, in the test code below:
Dim PSTZone As New Xojo.Core.TimeZone(“PST”)
Dim PSTDate As New Xojo.Core.Date(Xojo.Core.Date.Now.SecondsFrom1970, PSTZone)
txt1.text = PSTDate.ToText
Dim MSTZone As New Xojo.Core.TimeZone(“MST”)
Dim MSTDate As New Xojo.Core.Date(Xojo.Core.Date.Now.SecondsFrom1970, MSTZone)
txt2.text = MSTDate.ToText
Dim CSTZone As New Xojo.Core.TimeZone(“CST”)
Dim CSTDate As New Xojo.Core.Date(Xojo.Core.Date.Now.SecondsFrom1970, CSTZone)
txt3.text = CSTDate.ToText
Dim ESTZone As New Xojo.Core.TimeZone(“EST”)
Dim ESTDate As New Xojo.Core.Date(Xojo.Core.Date.Now.SecondsFrom1970, ESTZone)
txt4.text = ESTDate.ToText
txt1 and txt2 are both Pacific time and txt3 and txt4 are both Central time.