Peter
Peter

Reputation: 2759

FILETIME information retrieval on changing timezones

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.

Upvotes: 1

Views: 310

Answers (1)

Necrolis
Necrolis

Reputation: 26181

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

Upvotes: 1

Related Questions