How to determine whether the OS has the latest DST rules

yoshito_umaoka at us.ibm.com yoshito_umaoka at us.ibm.com
Thu Nov 6 20:47:39 UTC 2008


> I am working on an issue related to Brazil timezone. Our code reads 
> the DST rules from windows registry instead of tzdata.
> 
> My question is -- how do I determine whether the windows system has 
> applied the latest timezone DST rules from the following registry? I
> don't know how to interpret the binary data

To access time zone rules used by Windows, you can use the API below -

http://msdn.microsoft.com/en-us/library/system.timezoneinfo.getadjustmentrules.aspx

-Yoshito Umaoka



More information about the tz mailing list