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

# SetSystemTime(3w)

## NAME

**SetSystemTime** (KERNEL32.@)

## SYNOPSIS

BOOL SetSystemTime\
  (\
   const SYSTEMTIME\* *systime*\
  )

## DESCRIPTION

Set the system time in utc.

## PARAMS

*systime* **\[In\]**  The desired system time.

## RETURNS

**Success:** **TRUE**. The time was set.

**Failure:** **FALSE**, if the time was invalid or caller does not have permission to change the time.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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

Debug channel **"time"**.
