Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top