|
-
May 6th, 2011, 06:23 AM
#1
GetTimeZoneInformation
Hello,
I have an issue with setting timezones and using the API GetTimeZoneInformation that I would appreciate some help understanding.
Setting the timezone to GMT+02:00 Jerusalem on computer1 and running a function in our application that uses GetTimeZoneInformation , that API returns StandardName equals "Jerusalem Standard Time".
Repeating the same test on another computer, that API returns StandardName equals "Israel Standard Time".
Both computers are using WindowsXP Professional SP3.
So the first question is, why does the method return different result?
The second question is, where does the GetTimeZoneInformation API get the timezone information from? Ran Process Monitor while executing the GetTimeZoneInformation API but the API did not access the registry.
Last edited by laasunde; May 6th, 2011 at 06:40 AM.
Before post, make an effort yourself, try googling or search here.
When posting, give a proper description of your problem, include code* and error messages.
*All code should include code tags
-
May 6th, 2011, 07:06 AM
#2
Re: GetTimeZoneInformation
2. In HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
1. There is the key "Israel Standard Time" under Time Zones and there are the values Std = "Jerusalem Standard Time" and Dlt = "Jerusalem Daylight Time" under Israel Standard Time
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|