CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Jan 2003
    Posts
    615

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured