ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB932590

Windows-based applications that use the TZ environment variable may not work as expected because of changes to DST

Microsoft Windows-based applications that use the TZ environment variable may not work as expected because of changes to daylight saving time (DST). Starting in the spring of 2007, the DST start date and the DST end date for the United States will transition to comply with the Energy Policy Act of 2005. DST in the United States will start three weeks earlier (2:00 A.M. on the second Sunday in March) and will end one week later (2:00 A.M. on the first Sunday in November) than in previous years.

In Windows Vista, in Microsoft Windows Server 2003, and in Microsoft Windows XP, when you use the TZ environment variable, the C Run-Time (CRT) localtime function and the CRT _localtime64 function will not correctly recognize DST. These functions will recognize DST as starting on the first Sunday of April and as ending on the last Sunday of October for all dates.

There is a download that resolves this issue. See Hotfixes for details. This issue is resolved in SP1.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB932590.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

  • There are no comments yet...Come on, share your thoughts!

Leave a Comment