DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 932590 - Last Review: September 22, 2011 - Revision: 5.0

On This Page

SYMPTOMS

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.

Note If you have an application that uses the Microsoft C runtime (CRT) library, an update may be required. The recent updates for the CRT do not represent a newly discovered effect on products that were already listed in previous product-specific statements from Microsoft. However, the CRT updates are available for developers to update their applications.

If the CRT behavior affects an application, you can help resolve this behavior by installing the updated CRT library.

The CRT update and the Windows operating system update differ in the following ways:
  • The Windows operating system update enables Windows to recognize DST changes correctly by using the new DST rules for 2007. Microsoft generally recommends this update for every user.
  • When applications call CRT libraries after you install the CRT update, the CRT libraries use DST 2007 rules to handle dates correctly. The CRT itself is not an application. A user does not directly interact with the CRT. Instead, the CRT is a DLL that custom applications use.
The cumulative Windows operating system update and the CRT update are unrelated. Neither update resolves a problem that is caused by the other.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791  (http://support.microsoft.com/kb/935791/ ) How to obtain the latest Windows Vista service pack

Update information

The following file is available for download from the Microsoft Download Center:

Windows Server 2003

Collapse this imageExpand this image
Download
Download the WindowsServer2003-KB932590-x86-ENU.exe package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=7420348B-D7E0-468A-877D-17434BC47DE8)
Windows Server 2003 for Itanium-based Systems
Collapse this imageExpand this image
Download
Download the WindowsServer2003-KB932590-ia64-ENU.exe package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=B53B84DA-2420-4A0A-95CC-E6E5F51F1886)
Windows Server 2003 x64 Edition
Collapse this imageExpand this image
Download
Download the WindowsServer2003.WindowsXP-KB932590-x64-ENU.exe package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=431F9850-E40C-47A4-9BF1-16FFBA40B780)
Windows Vista
Collapse this imageExpand this image
Download
Download the Windows6.0-KB932590-x86.msu package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=B5481E2E-C5B1-4129-9AA9-50E48229F6A4)

Windows Vista for x64-based Systems

Collapse this imageExpand this image
Download
Download the Windows6.0-KB932590-x64.msu package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=85A88885-5E5B-421B-8511-E794E33D2768)
Windows XP
Collapse this imageExpand this image
Download
Download the WindowsXP-KB932590-x86-ENU.exe package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=1B38B995-A6F2-4703-95FC-F504EF4E4F39)

Windows XP x64 Edition

Collapse this imageExpand this image
Download
Download the WindowsServer2003.WindowsXP-KB932590-x64-ENU.exe package now. (http://www.microsoft.com/downloads/details.aspx?FamilyId=AB11EE43-E3DE-4DF2-BD37-F7E31DF362F4)

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591  (http://support.microsoft.com/kb/119591/ ) How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

There are no prerequisites to apply this software update.

Restart requirement

You must restart the computer after you apply this software update.

Update replacement information

This software update does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcrt.dll7.0.2600.3085343,04019-Feb-200710:32x86
Windows Vista, 32-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcrt.dll7.0.6000.20538681,47216-Feb-200702:42x86
Windows Vista, 64-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcrt.dll7.0.6000.20538641,02416-Feb-200704:06x64
Windows Server 2003, 32-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcirt.dll7.0.3790.65251,20003-Mar-200709:35x86
Msvcrt.dll7.0.3790.652327,68003-Mar-200709:35x86
Windows Server 2003 Service Pack 1, 32-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Msvcirt.dll7.0.3790.289356,83203-Mar-200710:02x86SP1
Msvcrt.dll7.0.3790.2893349,18403-Mar-200710:02x86SP1
Windows Server 2003 Service Pack 2, 32-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Msvcirt.dll7.0.3790.403456,83203-Mar-200709:47x86SP2
Msvcrt.dll7.0.3790.4034349,18403-Mar-200709:47x86SP2
Windows Server 2003, 32-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcirt.dll7.0.3790.65251,20003-Mar-200709:35x86
Msvcrt.dll7.0.3790.652327,68003-Mar-200709:35x86
Windows Server 2003 Service Pack 1, 64-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Msvcirt.dll7.0.3790.289393,18402-Mar-200718:27x64SP1
Msvcrt.dll7.0.3790.2893519,68002-Mar-200718:27x64SP1
Windows Server 2003 Service Pack 2, 64-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Msvcirt.dll7.0.3790.403493,18402-Mar-200718:30x64SP2
Msvcrt.dll7.0.3790.4034519,68002-Mar-200718:30x64SP2
Windows Server 2003, 64-bit version for Itanium processors
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcirt.dll7.0.3790.652165,37602-Mar-200718:27IA-64
Msvcrt.dll7.0.3790.652894,97602-Mar-200718:27IA-64
Windows Server 2003 Sevice Pack 1, 64-bit version for Itanium processors
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcirt.dll7.0.3790.2893184,32002-Mar-200718:27IA-64
Msvcrt.dll7.0.3790.2893952,83202-Mar-200718:27IA-64
Windows Server 2003 Service Pack 2, 64-bit version for Itanium processors
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcirt.dll7.0.3790.4034184,32002-Mar-200718:31IA-64
Msvcrt.dll7.0.3790.4034952,83202-Mar-200718:31IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

MORE INFORMATION

After you apply this update, applications that have the TZ environment variable set will correctly recognize DST in 2007.

For more information about the TZ environment variable, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/90s5c885(VS.80).aspx (http://msdn2.microsoft.com/en-us/library/90s5c885(VS.80).aspx)
CRT functions and Microsoft Foundation Classes (MFC) functions that call the localtime function and the _localtime64 function may also be affected by the DST change. The following CRT functions and MFC functions call the localtime function and the _localtime64 function:
  • ctime
  • _wctime
  • _tctime
  • _ctime64
  • _wctime64
  • _tctime64
  • mktime
  • _mktime64
  • _utime
  • _wutime
  • _tutime
  • _utime64
  • _wutime64
  • _tutime64
  • COleDateTime::operator=
  • CTime::GetLocalTm
  • CTime::Format
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Windows Vista Ultimate
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows XP Professional
Keywords: 
atdownload kbvistasp1fix kbqfe KB932590
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support