Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

2002 Mexico City time zone update for daylight saving time


View products that this article applies to.

Summary

The Mexico City time zone is being modified in 2002 to change the way that daylight saving time is implemented. The 2001 implementation is as follows:
  • Daylight saving time begins at 2:00 A.M. on the first Sunday of May.
  • Daylight saving time ends at 2:00 A.M. on the last Sunday of September.
The 2002 implementation is as follows:
  • Daylight saving time begins at 2:00 A.M. on the first Sunday of April.
  • Daylight saving time ends at 2:00 A.M. on the last Sunday of October.
This article describes methods that you can use to modify the default behavior of this time zone in Microsoft Windows to reflect this change.

↑ Back to the top


More information

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

Modify the time zone manually

To modify the time zone manually, use one of the following methods:
  • Use the Tzedit.exe utility to adjust the start and the end dates for daylight saving time in the time zone. You can obtain the Tzedit.exe utility from any Microsoft Windows Resource Kit. For more information about how to use Tzedit.exe, click the following article number 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. After you create the .inf file, right-click the file, and then click Install. Sample .inf file entries are listed at the end of this article.

Use an automated deployment

To deploy new time zone settings automatically, create an .inf file to modify the time zone, and then use the Rundll32.exe utility 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

Sample .inf file entries

Windows XP

This is sample .inf file text for Windows XP:
[Version]
Signature = "$Windows NT$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Display",0x00000002,"(GMT-06:00) Guadalajara, Mexico City, Monterrey"
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,0A,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Display",0x00000002,"(GMT-07:00) Chihuahua, La Paz, Mazatlan"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Std",0x00000002,"Mexico Standard Time 2"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","MapID",0x00000002,"34,35"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Index",0x00010001,13
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","TZI",0x00030001,A4,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0A,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
					
NOTE: If the computers are already at the time zone that is mentioned earlier, you must also add the following lines at the end of the script so that the changes of this time zone take effect. Append this text in the sample .inf file text for Windows NT, Windows 2000, and Windows XP (Guadalajara, Mexico City, Monterrey only).
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,300
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					
Append the following text in the sample .inf file text for Windows XP (Chihuahua, La Paz, Mazatlan only):
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,420
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time 2"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					

Windows 2000 and Windows NT

This is sample .inf file text for Windows 2000 and Windows NT:
[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,0A,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
					
NOTE: If the computers are already at the time zone that is mentioned earlier, you must also add the following lines at the end of the script so that the changes of this time zone take effect. Append the following text in the sample .inf file text for Windows NT and Windows 2000 (Guadalajara, Mexico City, Monterrey only).
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,300
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					

Windows 95, Windows 98, and Windows Millennium Edition

This 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,0A,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
					
NOTE If the computers are already at the time zone that is mentioned earlier, you must also add the following lines at the end of the script so that the changes of this time zone take effect. Append the following text in the sample .inf file text for Windows 95, Windows 98, and Windows Millennium Edition:
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00030001,68,01,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00030001,68,01,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00030001,c4,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightFlag",0x00030001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00030001,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00
					

↑ Back to the top


Keywords: kbinfo, KB320034

↑ Back to the top

Article Info
Article ID : 320034
Revision : 6
Created on : 2/24/2009
Published on : 2/24/2009
Exists online : False
Views : 715