Tutorial :TzSpecificLocalTimeToSystemTime during DT -< ST transition



Question:

It seems to me there is some ambiguity during the transition between Daylight time to Standard time for example in the US at 2:00 AM DT on 11/1 Daylight time ended and Standard time began the time now being 1:00 AM ST. This means that a time of 1:30 is meaningless unless it is qualified as ST or DT. So, how can TzSpecificLocalTimeToSystemTime convert this time?


Solution:1

It can guess, at best. Since SYSTEMTIME structure lacks DST bit, there are indeed inherently ambiguous periods.


Solution:2

Raymond Chen wrote about this topic, hopefully that post will clear things up.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »