FILETIME information retrieval on changing timezones

317 Views Asked by At

Suppose i have a FILETIME which has some value (which we can see by converting it to systemtime) when I am in timezone1. Suppose I changed my timezone to timezone2. Now I want to get the time in hours and minutes (format) which was in timezone1.

1

There are 1 best solutions below

4
On BEST ANSWER

A simple way would be to convert it to system time then use SystemTimeToTzSpecificLocalTime to convert the time to a timezone specific time.