B4A's timezones are driving me crazy.
When I set the value of "mydate" to "0", I thought this would represent 1 JAN 1970, 00:00.
However, when I do a DateTime.GetHour(mydate), it seems DateTime takes into calculation the current timezone.
How can I use GetDayOfWeek, GetMonth, GetYear, GetHour and GetMinute without a timezone being added/subtracted? Do I really have to subtract the timezone myself every time? Or can I set a parameter somewhere to reset the timezone to 0 temporarily?
When I set the value of "mydate" to "0", I thought this would represent 1 JAN 1970, 00:00.
However, when I do a DateTime.GetHour(mydate), it seems DateTime takes into calculation the current timezone.
How can I use GetDayOfWeek, GetMonth, GetYear, GetHour and GetMinute without a timezone being added/subtracted? Do I really have to subtract the timezone myself every time? Or can I set a parameter somewhere to reset the timezone to 0 temporarily?