MSDN Archive Home
Help and FAQs
KB932305 - Visual C++ .NET 2002 C runtime DST 2007 update for the TZ variable
All Resource Updates
Change History (all pages)
A Hotfix is a product update package with one or more updated product files that fix a specific product problem.
Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes.
Please carefully review the associated Hotfix KB article to verify the fix is the one needed and there are no known compatibility or installation issues. You may also want to contact a Microsoft Support Professional at
*FIX: Visual C++ .NET 2002 C runtime daylight saving time 2007 update for the TZ environment variable problem
The U.S. Energy Policy Act of 2005, passed by the U.S. Congress in July of 2005, extended daylight saving time (DST) in the United States by approximately four weeks. Beginning in 2007, DST starts three weeks earlier, on the second Sunday in March at 2:00 AM. In 2007, DST starts on March 11. DST ends one week later, on the first Sunday of November at 2:00 AM. In 2007, DST ends on November 4.
In Microsoft Visual C++ .NET 2002, some C runtime (CRT) functions ignore the daylight saving time (DST) rules that are set in the operating system when the TZ environment variable is set. For example, the localtime and _localtime64 functions identify the first Sunday of April and the last Sunday of October as the start dates and the end dates for DST. Therefore, a Visual C++ .NET 2002 application that uses the TZ environment variable may not work as expected.
Additional Information about the issue resolved by this Hotfix can be found in its Knowledge Base article at
Search the list of all other publicly available Visual Studio and .NET Framework Hotfixes at
Jun 23 2008 at 1:40 AM
, version 4
Sign in to add a comment
Tue Mar 6 2007 at 8:00 AM
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.