The ExSystemTimeToLocalTime routine converts a GMT system time value to the local system time for the current time zone.
VOID
ExSystemTimeToLocalTime(
IN PLARGE_INTEGER SystemTime,
OUT PLARGE_INTEGER LocalTime
);
None
Declared in ntddk.h. Include ntddk.h.
ExSystemTimeToLocalTime subtracts the time-zone bias from the GMT system time value to compute the corresponding time at the current locale.
Callers of ExSystemTimeToLocalTime can be running at any IRQL.