Time.Zone.GetDaylightChanges(2007) returning incorrect dates

  • Thread starter Thread starter Jen
  • Start date Start date
J

Jen

Time.Zone.GetDaylightChanges(2007) returns 4 (April) and 10 (October) for
DST begin and end dates. That is incorrect. It should be 3 and 11. My
registry is correctly updated for the 2007 rules (the TZI structure for my
time zone has 3 and 11).

Why is GetDaylightChanges() returning pre-2007 rule DST dates instead of
2007 rule dates?
 
Time.Zone.GetDaylightChanges(2007) returns 4 (April) and 10 (October) for
DST begin and end dates. That is incorrect. It should be 3 and 11. My
registry is correctly updated for the 2007 rules (the TZI structure for my
time zone has 3 and 11).

Why is GetDaylightChanges() returning pre-2007 rule DST dates instead of
2007 rule dates?

I think Microsoft has released a patch for this.

Visit this http://support.microsoft.com/kb/933360/

-Rohit
 
Back
Top