My phone, running Windows Mobile 6, has suddenly decided to drop an hour every time I hook it up to my PC. I tried playing with the timezone settings in the Control Panel, to no avail.
I've come to the conclusion the heart of the problem is in the Daylight Saving configuration of my timezone.
I could not find any utilities to let me edit this on Windows Mobile (ala tzedit
in Windows). I've decided to write something of my own, but I cannot find the right keywords to search for! All the variations I can think of for "Windows mobile" and "daylight savings" keep coming back to the changes made in 2007 to the U.S.A DST, and not to an API!
Does anyone have any suggestions which functions I should be looking for? I'd like to write this in C#, but P/Invoke should let me access the regular API stuff, I hope.
UPDATE: I ended up writing the application myself, using the TimeZoneInformation
function as suggested below. Thanks!
Another UPDATE [about a 2 weeks later]: If you need something like this, I put the program and source code online at http://shalom.craimer.org/projects/. I hope this save somebody 5 minutes or something.