The GetLocalTime function retrieves the current local date and time.
VOID GetLocalTime(
LPSYSTEMTIME lpSystemTime
// address of system time structure
);
This function does not return a value.
GetSystemTime, SetLocalTime, SYSTEMTIME