Jump to content

2007 time zone adjustment for windows


blackwire

Recommended Posts

  • 4 weeks later...

I have found (finally, I hope) a command line tool that can be used with Win98/ME to adjust DST time zone unattended from within a BATch file.

Windows XP SP2 Support Tools:

http://support.microsoft.com/?id=838079

Direct download [4.7 MB, English]:

http://download.microsoft.com/download/d/3...rtTools-ENU.exe

Extract the CAB files using the /X parameter [if using 2000/XP/2003] or use WinZip or PowerArchiver or similar tool [if using 98/ME], and then extract timezone.exe from SUPPORT.CAB .

This timezone.exe version *is* compatible with Win9x OSes:

Daylight Saving Time Update Utility Version 1.2

Copyright Microsoft Corporation 1997. All rights reserved

TIMEZONE [/?] [/g | /s StartDate EndDate]

/?: Command line help

/g: Get the current timezone

/s: Set a new timezone

StartDate: Date that Daylight Saving Time begins

EndDate: Date that Daylight Saving Time ends

StartDate and EndDate use format: Hour:DayOfWeek:Day:Month

Hour: 00-23 (specifies the hour)

DayOfWeek: 0-6 (specifies the day of the week; Sunday = 0, Monday = 1,

and so on)

Day : 1-5 (specifies the occurrence of day in the month; 1 = first

occurrence of day, 2 = second occurrence of day, ..., 5 = last

occurrence of day)

(if DayOfWeek is Sunday, then 1 = first Sunday, 4 = fourth

Sunday, 5 = last Sunday)

Month: 01-12 (specifies the month; January = 1, February = 2, and so on)

Example:

TIMEZONE /s 02:0:5:04 02:2:1:10

Timezone will be changed to:

Daylight Saving Time begins at 2:00 on last Sunday in April (02:0:5:04)

Daylight Saving Time ends at 2:00 on forth Tuesday in October (02:2:4:10)

For US English Win95/98/ME OSes we need this command:

TIMEZONE.EXE /S 02:0:2:03 02:0:1:11

The only problem is I didn't have time to fully test it.

It appears to function properly under Win98 SE.

What I've noticed, if it is run after the DST start time was changed [after March 11 2007 02:00 AM], it doesn't change these 2 registry values [example]:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation]

"ActiveTimeBias"=hex:a4,01,00,00

"DaylightFlag"=hex:01,00,00,00

But if it is run before the DST start time kicks in [before March 11 2007], it does change those 2 reg values to [example]:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation]

"ActiveTimeBias"=hex:68,01,00,00

"DaylightFlag"=hex:02,00,00,00

Also, each time zone probably needs a different timezone.exe command.

I'm still working on it, and will post here more results.

The purpose of all this testing, is to add timezone.exe to the DST patches for Win95/98/ME, in order to make them fully automated:

http://www.mdgx.com/add.htm#TZU

Anybody wants to test this?

HTH

TZ__DST.ZIP

Link to comment
Share on other sites

The Q931836 DST fixes are flawed MDGx. they didn't work. they also changed the Time Zone on my Win98se/WinME machines from "US Pacific" to "Casablanca"! [huh, what the f@#*@$*(!!] :angry:

I found the problem as to why they do that. Look in the Q931836.inf file and in the DR section:

[DR]

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardName,0,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightName,0,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardStart,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightStart,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,ActiveTimeBias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,Bias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardBias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightBias,1,

REMOVE these lines from the INF file. I think Q931836.inf, ran [AR] first and then [DR] which deleted those reg entries and made my Win98se/WinME PCs confused with the current time zone registry entries.

so revise the Q931836.inf file by removing those reg entries and repost your patches.

Link to comment
Share on other sites

The Q931836 DST fixes are flawed MDGx. they didn't work. they also changed the Time Zone on my Win98se/WinME machines from "US Pacific" to "Casablanca"! [huh, what the f@#*@$*(!!] :angry:

I found the problem as to why they do that. Look in the Q931836.inf file and in the DR section:

ok, I know what I did. I was supposed to click OK (or press the Enter key) when the Timezone dialog box pops up while running the Q931836 patch. instead I pressed the Esc key (same thing as clicking the Cancel button) and that's when things got screwed up [DOH!]. The US Pacific timezone was changed to "Casablanca". anyway, I changed the timezone back to US Pacific from the Timezone dialog box and clicked OK and things were back to normal.

I didn't really like the idea of the INF file removing the TimeZoneInformation registry info and the KB931836 updates for WinXP & Win2003 do NOT do that.

Link to comment
Share on other sites

The Q931836 DST fixes are flawed MDGx. they didn't work. they also changed the Time Zone on my Win98se/WinME machines from "US Pacific" to "Casablanca"! [huh, what the f@#*@$*(!!] :angry:

I found the problem as to why they do that. Look in the Q931836.inf file and in the DR section:

ok, I know what I did. I was supposed to click OK (or press the Enter key) when the Timezone dialog box pops up while running the Q931836 patch. instead I pressed the Esc key (same thing as clicking the Cancel button) and that's when things got screwed up [DOH!]. The US Pacific timezone was changed to "Casablanca". anyway, I changed the timezone back to US Pacific from the Timezone dialog box and clicked OK and things were back to normal.

I didn't really like the idea of the INF file removing the TimeZoneInformation registry info and the KB931836 updates for WinXP & Win2003 do NOT do that.

I have removed the delete code from the INF [so no more deleted reg values].

So now it still works [but may *not* change DST to new date] even if user does not click OK right after install, as instructed.

- Unofficial DST Update for Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME [68 KB, English]:

http://www.mdgx.com/files/Q931836.EXE

- Unofficial DST Update for Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME [70 KB, Italian]:

http://www.mdgx.com/files/IT931836.EXE

HTH

Link to comment
Share on other sites

  • 2 weeks later...
I have removed the delete code from the INF [so no more deleted reg values].

So now it still works [but may *not* change DST to new date] even if user does not click OK right after install, as instructed.

- Unofficial DST Update for Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME [68 KB, English]:

http://www.mdgx.com/files/Q931836.EXE

- Unofficial DST Update for Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME [70 KB, Italian]:

http://www.mdgx.com/files/IT931836.EXE

HTH

thanks. It would also be nice to put in the dialog box on the DST update saying "You MUST click OK. Do NOT click on Cancel".

Also, if you read the Windows 98, ME DST Patch article here:

http://www.intelliadmin.com/blog/2007/02/w...-dst-patch.html

The author of the article says that the DST feature is "broken" under Windows 95.

This is simply INCORRECT! I've used the DST feature on a Win95 system and tested it MANY times and it DOES work as expected. But to ensure the Daylight Saving Time features work correctly on a Win95 machine, Win95 users MUST install the Win95 year 2000 fixes and the Timedate.cpl Q237493 hotfix. And then apply the unofficial Q931836 patch [don't bother using the unofficial DST patch from the IntelliAdmin.com site if it does not work correctly on Win95] under Win95 to take advantage of the new DST format.

I'm pretty sure a lot of Win95 users would BEG to DIFFER on what the author said in that article.

Edited by erpdude8
Link to comment
Share on other sites

Finally...

took the DST updates [both English + Italian] to a new level and fixed the problem.

No need to click OK [or ask for trouble if clicking Cancel for that matter] in the Date/Time CPL dialog box anymore...

Now everything is completely automated, and now these updates can be included in other packages like Auto-Patcher, PowerPack, Service Packs etc.

How...

This Update uses Microsoft Daylight Saving Time Update Utility v1.01 from Windows 98 Resource Kit (RK) = TIMEZONE.EXE [6 KB]:

ftp://ftp.microsoft.com/services/technet/...ig/TIMEZONE.EXE

to set the correct DST values into your registry completely unattended.

INF code:

[Version]

Signature=$CHICAGO$

AdvancedINF=2.5

[DefaultInstall]

...

RunPostSetupCommands=TZ:1

[TZ]

"TIMEZONE.EXE 02-0-2-03 02-0-1-11"

...

And no need for a reboot/restart.

Please test them here:

* Unofficial Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME 2007 U.S.A. + Western Australian (Perth) Daylight Saving Time (DST) Cumulative Time Zone Update:

http://support.microsoft.com/?id=931836

- English Update [112 KB]:

http://www.mdgx.com/files/Q931836.EXE

- Italian Update [115 KB]:

http://www.mdgx.com/files/IT931836.EXE

Of course, this can be translated into other (supported) languages if any1 wants to do it.

HTH

Link to comment
Share on other sites

Finally...

took the DST updates [both English + Italian] to a new level and fixed the problem.

No need to click OK [or ask for trouble if clicking Cancel for that matter] in the Date/Time CPL dialog box anymore...

Now everything is completely automated, and now these updates can be included in other packages like Auto-Patcher, PowerPack, Service Packs etc.

How...

This Update uses Microsoft Daylight Saving Time Update Utility v1.01 from Windows 98 Resource Kit (RK) = TIMEZONE.EXE [6 KB]:

ftp://ftp.microsoft.com/services/technet/...ig/TIMEZONE.EXE

to set the correct DST values into your registry completely unattended.

INF code:

[Version]

Signature=$CHICAGO$

AdvancedINF=2.5

[DefaultInstall]

...

RunPostSetupCommands=TZ:1

[TZ]

"TIMEZONE.EXE 02-0-2-03 02-0-1-11"

...

And no need for a reboot/restart.

Please test them here:

* Unofficial Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME 2007 U.S.A. + Western Australian (Perth) Daylight Saving Time (DST) Cumulative Time Zone Update:

http://support.microsoft.com/?id=931836

- English Update [112 KB]:

http://www.mdgx.com/files/Q931836.EXE

- Italian Update [115 KB]:

http://www.mdgx.com/files/IT931836.EXE

Of course, this can be translated into other (supported) languages if any1 wants to do it.

HTH

Works fine for me. :sneaky:

Link to comment
Share on other sites

great MDGx. I would highly recommend using your Q931836 DST patch instead of the Unofficial DST patch listed at the IntelliAdmin.com web site whom the author claims the DST feature is "broken" and does not work correctly under Win95. I find him DEAD WRONG on that.

Link to comment
Share on other sites

  • 3 weeks later...

While I still run 98SE on my MAME cabinet, my other three computers all run Windows 2000.

Is there something similar that actually works on Windows 2000 computers?

I tried the "official" time zone editing tool from microsoft which let me change the rules and apply them. However, it didn't change the clock when it was supposed to (I had to change it manually) and then changed it at the normal time on April 1 anyway (making it an hour off), even though I changed the rules so it wouldn't.

Fcking stupid daylight savings time should be abolished anyway. *Grumble*

Link to comment
Share on other sites

While I still run 98SE on my MAME cabinet, my other three computers all run Windows 2000.

Is there something similar that actually works on Windows 2000 computers?

Sorry, mate, I am not using Win2000, therefore I can't test this. ;(

But have you tried these other patches:

Grystmill:

http://www.grystmill.com/articles/tz_update.htm

Patch:

http://www.grystmill.com/downloads/TZ_UP_NT.exe

IntelliAdmin:

http://www.intelliadmin.com/blog/2007/01/u...0-daylight.html

Patch:

http://www.intelliadmin.com/DaylightSavingFix.exe

... all listed at my web page:

http://www.mdgx.com/add.htm#TZU

HTH

Link to comment
Share on other sites

  • 7 months later...

Microsoft has issued an update...

"December 2007 cumulative time zone update..."

dated 11/27/2007

http://support.microsoft.com/default.aspx/kb/942763

And MDGX has has followed suit with an update for W9x users dated 11/07/2007.

http://www.mdgx.com/add.htm#TZU

Thanks for that but I have 3 issues.

The "AUS Eastern Standard Time" TZI info

needs to be updated to the "2008" data.

The "Cen. Australia Standard Time" TZI info

needs to be updated to the "2008" data.

The "Israel Standard Time" is screwed as well.

The information for Israel on the M$ web page is wrong too.

Particularly the "Dynamic DST" info.

So I suppose the standard channel updates are unreliable as well.

Please use this TZI data for Israel in the year 2008:

TZI,1,88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,\

00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00,\

00,00,03,00,05,00,05,00,02,00,00,00,00,00,00,00

Tasmania, Egypt and others are already updated for 2008.

Look up any time zone info here:

http://www.timeanddate.com/worldclock/

And I found this.

Yearly Reg files posted here for Israel:

http://www.lingnu.com/support.html#timezone

Link to comment
Share on other sites

All December 2007 TZ (Time Zone) DST (Daylight Saving Time) updates for all Windows 32-bit (Win32) OSes are finally here [as of December 4 2007]:

http://www.mdgx.com/add.htm#TZU

Of particular interest in this 98/ME forum...

* Microsoft Windows 98/98 SP1/98 SE/ME 2006-2008 December 2007 Cumulative Daylight Saving Time (DST) Time Zone Updates (English):

http://support.microsoft.com/?id=942763

- Unofficial DST Update for Windows 98/98 SP1/98 SE/ME [114 KB, English]:

http://www.mdgx.com/files/Q942763.EXE

- Unofficial DST Update for Windows 98/98 SP1/98 SE/ME [117 KB, Italian]:

http://www.mdgx.com/files/IT942763.EXE

ALL these DST Updates MUST be installed by ALL Windows users REGARDLESS of geographical or Time Zone location!

ALL Unofficial Cumulative DST Updates above install ALL Time Zone Updates and also delete obsolete 2006 Australian (Melbourne Commonwealth Games) DST registry entries (if any):

http://support.microsoft.com/?id=909915

Windows 98, 98 SP1 + 98 SE require ALL Year 2000 (Y2K) Updates + Q237493 TIMEDATE.CPL Fixes already installed:

http://www.mdgx.com/web.htm

DST Help and Support Center:

http://support.microsoft.com/gp/cp_dst/

List of products affected by DST:

http://support.microsoft.com/gp/dst_prodlist/

How to Configure 2007 DST:

http://support.microsoft.com/?id=914387

DST Changes:

http://www.microsoft.com/windows/timezone.mspx

DST Updates MSFN Forum:

http://www.msfn.org/board/?showtopic=87399

Wikipedia: Daylight Saving Time (DST):

http://en.wikipedia.org/wiki/Daylight_saving_time

HTH

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...