GetSystemTime

This function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

void GetSystemTime( LPSYSTEMTIME lpSystemTime );

Parameters

lpSystemTime

[out] Pointer to a SYSTEMTIME structure to receive the current system date and time.

Return Values

None.

See Also

GetLocalTime, SetSystemTime, SYSTEMTIME