>>I haven't followed this whole thread, so I can't be sure I'm giving you the information you need. I've got a file in the download section (Windows Time - Win32 and Other APIs), that, while it was designed to deal with setting file date/time stamps, can do this. The file system stores the date/time stamps in UTC time. The API, naturally, has a number of functions that convert to and from UTC time. You might want to take a look at that file. There's documentation that shows how to get the current UTC date/time, so going in the other direction isn't that hard.
>
>I checked your program. It works well to show the local time in UTC format.
>
>However, what I need is the ability to find how many offset there is between the current Montreal time and a given time zone.
I don't know if this helps or not, Michel, but information (client side) regarding the time zone settings can be retrieved via GetTimeZoneInformation(). I did some stuff with Vlad Tatavu here, and I think he wrote an FAQ on it.
George
Ubi caritas et amor, deus ibi est