---
name: "SystemTimeToTzSpecificLocalTime"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SystemTimeToTzSpecificLocalTime"
---

# 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"**.
