I'm trying to get the device's time zone offset.
I'm using the code posted here by Erel and (I think) it was working in Basic4android 1.7 but not now in 1.8. The GetTimeZoneOffset method always returns -8.
Also, DateTime.TimeZoneOffset always returns -8.
I have Basic4android running in VMWare with Windows set to Central time zone (offset -6) and Central time zone set in the Android emulator too. I'm thinking this might be an emulator issue.
Does anyone have any suggestions as to what's wrong? Why is the time zone offset always returning -8 instead of -6?
I'm using the code posted here by Erel and (I think) it was working in Basic4android 1.7 but not now in 1.8. The GetTimeZoneOffset method always returns -8.
Also, DateTime.TimeZoneOffset always returns -8.
I have Basic4android running in VMWare with Windows set to Central time zone (offset -6) and Central time zone set in the Android emulator too. I'm thinking this might be an emulator issue.
Does anyone have any suggestions as to what's wrong? Why is the time zone offset always returning -8 instead of -6?
Last edited: