Re: Timezone identification across Windows version...



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?mfr=true

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 API
http://www.google.com/search?q=GetTimeZoneInformation

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


<nicolas.gendron@xxxxxxxxx> wrote in message news:1172674868.604323.193840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.



Relevant Pages