I have a need to convert a utc system time to local time and find the corresponding utc offset. I wouldn’t mind getting the time zone also. As far as I can tell, SystemTimeToTzSpecificLocalTime returns no information on these.
Anyone have a good way of determining the UTC offset and time zone?
Here’s one way of doing this.
`
SYSTEMTIME STime, LTime;
SystemTimeToTzSpecificLocalTime (&TZ, &STime, <ime);
`