Previous Next

ExSystemTimeToLocalTime

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
    );

Parameters

SystemTime
Pointer to a variable set to the unbiased, GMT system time.
LocalTime
Pointer to the returned value for the current locale.

Return Value

None

Headers

Declared in ntddk.h. Include ntddk.h.

Comments

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.

See Also

ExLocalTimeToSystemTime