hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Timezone identification across Windows version...

 
   Windows XP (Home) -> Windows XP Arch -> Windows XP General Arch3 RSS
Next:  peer to peer network help needed  
Author Message
nicolas.gendron

External


Since: Feb 28, 2007
Posts: 2



(Msg. 1) Posted: Wed Feb 28, 2007 7:01 am
Post subject: Timezone identification across Windows version...
Archived from groups: microsoft>public>windowsxp>general (more info?)

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... 
Back to top
Login to vote
nicolas.gendron

External


Since: Feb 28, 2007
Posts: 2



(Msg. 2) Posted: Wed Feb 28, 2007 8:15 am
Post subject: Re: Timezone identification across Windows version... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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... 
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 2743



(Msg. 3) Posted: Wed Feb 28, 2007 9:17 pm
Post subject: Re: Timezone identification across Windows version... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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


wrote in message
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... 
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 2743



(Msg. 4) Posted: Thu Mar 01, 2007 7:53 am
Post subject: Re: Timezone identification across Windows version... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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... 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How can I tell what version of Windows I have? (if it does.. - Let's say I've got a computer that won't boot. However, I can hook the hard drive up to a different computer and look at the contents of it. With the information available to me, is there a way for me to tell what version of Windows is installed on th...

Restoring data from an old version of Windows - I urgently need to transfer some data files from an old PC, vintage 1992, which is mainly used to run a DOS programme. This PC came with Win 3.1 loaded and has two drives - one for 5.25" floppies and the other for 3.5" floppies. There is no ...

Why cant I burn CD's with the new version of Windows Media.. - My burning icon in Window Media Player version 11 tells me to make sure a burner device is connected before I can burn cd's. When I purchased it the burner worked find and it works fine when I burn pictures and music from other program, except for..

XP Pro x32 trial version - I'm an IT student and would really like to get my hands on a non OEM trial version of the software. Would anyone know if or how I could accomplish this? Thanks! Brekl

legalize an illegal version of XP - hello, what is the official way to legalize an illegal version of XP ? where can I find a detailed descrition of this ? will it be necessary to re-install XP completely ? thnks Fred
   Windows XP (Home) -> Windows XP Arch -> Windows XP General Arch3 All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
  Windows XP
 Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]