Search Wiki:
Article Translations
English, Français, Deutsch, Italiano, 한국어, 繁體中文, 简体中文, 日本語, Русский, Português (Brasil)

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

Issue 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 issue resolved by this Hotfix can be found in its Knowledge Base article at

Additional Hotfixes
Search the list of all other publicly available Visual Studio and .NET Framework Hotfixes at*

Last edited Jun 23 2008 at 1:40 AM  by codegalleryadmin, version 4
Page view tracker