Find UTC Offset given a city

Posted by soccerfan on Stack Overflow See other posts from Stack Overflow or by soccerfan
Published on 2010-06-09T03:26:27Z Indexed on 2010/06/09 3:32 UTC
Read the original article Hit count: 440

Filed under:
|
|
|

In C++ on Windows, given a city, lets say london or newyork or sydney or singapore etc.. how do I find the UTC offset for each of them, ie the function should be able to accept a city name and return the UTC offset in the current scenario ie taking into account daylight savings. Any ideas how this can be done using win32 APIs

© Stack Overflow or respective owner

Related posts about win32

Related posts about timezone