Microsoft KB Archive/933812

= The JScript version 5.7 Date object reports time in standard time instead of in daylight saving time after you apply the updates in Microsoft Knowledge Base articles 928388 and 932590 on a computer that is running Windows XP or Windows Server 2003 =

Article ID: 933812

Article Last Modified on 11/2/2007

-

APPLIES TO

 Microsoft Windows Server 2003 Service Pack 1, when used with:  Windows Internet Explorer 7  Microsoft Windows Server 2003 R2 Enterprise x64 Edition, when used with:  Windows Internet Explorer 7  Microsoft Windows Server 2003 R2 Standard x64 Edition, when used with:  Windows Internet Explorer 7</li></ul> </li> Microsoft Windows Server 2003 Service Pack 2, when used with:  Windows Internet Explorer 7</li></ul> </li> Microsoft Windows Server 2003, Standard x64 Edition, when used with:  Windows Internet Explorer 7</li></ul> </li> Microsoft Windows XP Home Edition, when used with:  Windows Internet Explorer 7</li></ul> </li> Microsoft Windows XP Service Pack 2, when used with:  Windows Internet Explorer 7</li></ul>

 Windows Internet Explorer 7</li></ul> </li> Microsoft Windows XP Professional x64 Edition, when used with:  <li>Windows Internet Explorer 7</li></ul> </li> <li>Microsoft Windows Server 2003, Enterprise x64 Edition, when used with: <ul> <li>Windows Internet Explorer 7</li></ul> </li></ul>

-

<div class="symptoms_section">

SYMPTOMS
Consider the following scenario. You take the following actions on a computer that is running Microsoft Windows XP or Microsoft Windows Server 2003: <ol> <li>You install the 2007 time zone update for Microsoft Windows operating systems that is documented in the following Microsoft Knowledge Base article:

928388 2007 time zone update for Microsoft Windows operating systems

</li> <li>You install the C run-time (CRT) update that is documented in the following Microsoft Knowledge Base article:

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

</li> <li>You set the TZ environment variable.</li></ol>

In this scenario, when you create a custom application that uses the JScript version 5.7 Date object, the time is reported incorrectly for dates that are between the second Sunday in March and the first Sunday in April for the year 2007. Instead of the time being reported in daylight saving time, the time is reported in standard time. For example, for March 30, 2007, the JScript Date object reports time in standard time instead of in daylight saving time.

Note JScript version 5.7 is included with Windows Vista. Additionally, when you install Internet Explorer 7 on a computer that is running Windows XP with Service Pack 2 (SP2), Windows XP Professional x64 Edition, or Windows Server 2003 SP1, JScript version 5.7 is installed.

<div class="resolution_section">

Windows XP
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
You must be running Windows XP with Service Pack 2 (SP2) or Windows XP Professional x64 Edition to install this hotfix.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File attributes information for Windows XP
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.

File attributes information for Windows XP Professional x64 Edition
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 Server 2003 hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File attributes information for Windows Server 2003, x86-based versions
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.

File attributes information for Windows Server 2003, x64-based versions
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.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information about the JScript Date object, visit the following Microsoft Web sites:

http://msdn2.microsoft.com/en-us/library/cd9w2te4.aspx

933811 The JScript version 5.6 Date object reports time in standard time instead of in daylight saving time after you apply the updates in Microsoft Knowledge Base articles 928388 and 932590 on a computer that is running Windows XP or Windows Server 2003

For more information about the _tzset function, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/90s5c885(VS.80).aspx

<div class="references_section">