Microsoft KB Archive/289502

From BetaArchive Wiki
Knowledge Base


Mexico City Time Zone Update for Daylight Saving Time

Article ID: 289502

Article Last Modified on 2/28/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows Millennium Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition



This article was previously published under Q289502

SUMMARY

The Mexico City (and Tegucigalpa) time zone is being modified in 2001 to change the way that daylight saving time is implemented; daylight saving time is implemented one month later in the spring and one month earlier in the fall.

The original implementation:

  • Daylight saving time begins 2:00 A.M., the first Sunday of April.
  • Daylight saving time ends 2:00 A.M., the last Sunday of October.

The new implementation:

  • Daylight saving time begins 2:00 A.M., the first Sunday of May.
  • Daylight saving time ends 2:00 A.M., the last Sunday of September.

This article describes methods that you can use to modify the default behavior of this time zone in Windows to reflect this change.

MORE INFORMATION

You can use several methods to modify the default behavior of a time zone in Windows. You can modify the behavior manually, or by running a command in an unattended rollout.

To modify the time zone manually, use one of the following methods:

  • Use the Tzedit.exe utility to adjust the start and end dates for daylight saving time in the time zone.For additional information about using Tzedit.exe, click the article number below to view the article in the Microsoft Knowledge Base:

    158195 Time Zone Editor Available on OEM Service Release 2 CD-ROM

  • Create an .inf file to modify the time zone. Right-click the file, and then click Install. Sample .inf file entries are listed at the end of this article.

To automate the deployment of the new time zone settings, create an .inf file to modify the time zone, and then use Rundll32.exe to implement the .inf file. The following command is an example of the rundll32 command (where path\file_name is the location of the .inf file):

rundll32 setupapi,InstallHinfSection DefaultInstall 128 path\file_name


The following text is sample .inf file text for Windows NT and Windows 2000:

[Version]
Signature = "$Windows NT$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Display",0x00000002,"(GMT-06:00) Mexico City"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Std",0x00000002,"Mexico Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","MapID",0x00000002,"-1,85"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Index",0x00010001,30
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","TZI",0x00030001,68,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,09,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,05,00,00,00,01,00,02,00,00,00,00,00,00,00


The following text is sample .inf file text for Windows 95, Windows 98, and Windows Millennium Edition (Me):

[Version]
Signature = "$Chicago$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Display",0x00000002,"(GMT-06:00) Mexico City"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Std",0x00000002,"Mexico Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","MapID",0x00000002,"-1,85"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Index",0x00010001,30
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","TZI",0x00030001,68,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,09,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,05,00,00,00,01,00,02,00,00,00,00,00,00,00


Keywords: kbenv kbhowto KB289502