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)
The Hotfixes available through this program have not gone through full Microsoft product regression testing. Specifically, these Hotfixes have had targeted testing which does not include testing in combination with other Hotfixes. You are encouraged to install only the Hotfixes needed to address the particular product problem you may have.
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.
Resource Page Description
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 Hotfix is available at
Mar 29 2008 at 12:37 AM
, version 2
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.