Heppy Active Member Licensed User Longtime User Jan 14, 2014 #1 Problem or bug in DateUtils dts? GetTimeZoneOffsetAt (29.03.2014) = 1 GetTimeZoneOffsetAt (30.03.2014) = 1, should be 2 GetTimeZoneOffsetAt (31.03.2014) = 2 In settings I have automatic time. regards
Problem or bug in DateUtils dts? GetTimeZoneOffsetAt (29.03.2014) = 1 GetTimeZoneOffsetAt (30.03.2014) = 1, should be 2 GetTimeZoneOffsetAt (31.03.2014) = 2 In settings I have automatic time. regards
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2014 #2 You haven't told us what is your device time zone. However in most time zones the DST shift happens on 1:00 or 2:00 am. You are testing it on 30.03.2014 00:00. Tip: in most cases you do not need to use this method. What are you trying to do? Upvote 0
You haven't told us what is your device time zone. However in most time zones the DST shift happens on 1:00 or 2:00 am. You are testing it on 30.03.2014 00:00. Tip: in most cases you do not need to use this method. What are you trying to do?
Heppy Active Member Licensed User Longtime User Jan 14, 2014 #3 I had not realized that the time is changed to 2:00 Spanish time. It is an application for my coworkers Street Lighting, to know when the control panels have to turn off the lights. It is a way of checking that everything is correct. Thank you very much for your prompt response. PD: Sorry for my English (Google translator) Upvote 0
I had not realized that the time is changed to 2:00 Spanish time. It is an application for my coworkers Street Lighting, to know when the control panels have to turn off the lights. It is a way of checking that everything is correct. Thank you very much for your prompt response. PD: Sorry for my English (Google translator)