Re: Timezone identification across Windows version...
- From: "nicolas.gendron@xxxxxxxxx" <nicolas.gendron@xxxxxxxxx>
- Date: 28 Feb 2007 08:15:50 -0800
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" <ram...@xxxxxxxxxxxx> 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
<nicolas.gend...@xxxxxxxxx> wrote in messagenews: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
.
- References:
- Timezone identification across Windows version...
- From: nicolas.gendron@xxxxxxxxx
- Re: Timezone identification across Windows version...
- From: Ramesh, MS-MVP
- Timezone identification across Windows version...
- Prev by Date: Re: peer to peer network help needed
- Next by Date: Re: CD Burner Lost Icons
- Previous by thread: Re: Timezone identification across Windows version...
- Next by thread: Windows calendar
- Index(es):
Relevant Pages
|
|