Nic,
I don't see the current Time Zone setting mentioned in that key. Anyway, as there is a WMI class, I would use that instead.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
wrote in message
Hi,
Thanks for your answer.
What if I simply use the key name under "HKEY_LOCAL_MACHINE\SOFTWARE
\Microsoft\Windows NT\CurrentVersion\Time Zones"
This seems to be the same on Windows XP Eng, Windows XP Fr, Windows
Server 2003 Eng, Windows 2000 Eng, Windows Vista ... etc.
So for example:
- My client app on Windows 2000 French choose "Pacific Standard
Time".
- It pass the name of the key under "Time Zones" that is containing
information about "Pacific Standard Time" to my server app on Windows
Vista English.
?
Thanks a lot,
Nic
On Feb 28, 10:47 am, "Ramesh, MS-MVP" wrote:
> Hi Nic,
>
> Check this example:
>
> WMI Tasks: Dates and Times:http://msdn2.microsoft.com/en-us/library/aa394590.aspx
>
> -or-
>
> Retrieving System Information:http://www.microsoft.com/technet/scriptcenter/guide/sas_cpm_ciwz.mspx...
>
> CurrentTimeZone
> Data type: sint16
> Access type: Read/write
> Qualifiers: Units(Minutes)
> Amount of time the unitary computer system is offset from Universal Time Coordinate (UTC).
>
> Using APIhttp://www.google.com/search?q=GetTimeZoneInformation
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
> Windows® Troubleshootinghttp://www.winhelponline.com
>
> wrote in messagenews:1172674868.604323.193840@z35g2000cwz.googlegroups.com...
>
> Hi,
>
> I'm working in an application that is designed to run on Windows 2000,
> XP, Server 2003 and Vista.
> These OS can be in several languages.
>
> I want to be able to pass timezone information between all these
> versions / languages.
>
> Is there something that is uniquely identifying timezone in the
> registry and that is the same for all those versions / languages of
> Windows.
>
> Thanks a lot
>
> Nic >> Stay informed about: Timezone identification across Windows version...