Reference

SystemTimeToTzSpecificLocalTime(3w)

NAME

SystemTimeToTzSpecificLocalTime (KERNEL32.@)

SYNOPSIS

BOOL SystemTimeToTzSpecificLocalTime
(
const TIME_ZONE_INFORMATION* lpTimeZoneInformation,
const SYSTEMTIME* lpUniversalTime,
LPSYSTEMTIME lpLocalTime
)

DESCRIPTION

Convert a utc system time to a local time in a given time zone.

PARAMS

lpTimeZoneInformation [In] The desired time zone.

lpUniversalTime [In] The utc time to base local time on.

lpLocalTime [Out] The local time in the time zone.

RETURNS

Success: TRUE. lpLocalTime contains the converted time

Failure: FALSE.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/time.c".

Debug channel "time".

History