The GetSystemTime function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).
VOID GetSystemTime(
LPSYSTEMTIME lpSystemTime | // address of system time structure |
); |
Parameters
lpSystemTime
Points to a SYSTEMTIME structure to receive the current system date and time.
Return Values
This function does not return a value.
See Also
GetLocalTime, GetSystemTimeAdjustment, SetSystemTime, SYSTEMTIME