I want to convert various location/date/times in history from GMT to local time. It seems that SystemTimeToTzSpecificLocalTime
is better than FileTimeToLocalFileTime
. When the date/time pairs also include various locations, the conversion gets hairy. I've found a data set at ftp://elsie.nci.nih.gov/pub/ that seems to be nicely complete through history and space, but it appears to be designed to be compiled for one time zone instead of all of them.
GetDynamicTimeZoneInformation
and GetTimeZoneInformationForYear
functions are only available beginning in Vista / Server 2008 and I have machines back to NT 4.0. I will probably try to use them conditionally on the newer systems.
Is there a nice C package that will solve the problem for me for Windows XP and NT 4.0?