Hi,
Zitat:
The GetSystemTime function retrieves the current system date and time.
The system time is expressed in Coordinated Universal Time (UTC).
Code:
VOID GetSystemTime(
LPSYSTEMTIME lpSystemTime // address of system time structure
);
Zitat:
Parameters
lpSystemTime
Points to a SYSTEMTIME structure to receive the current system date and time.
The SYSTEMTIME structure represents a date and time using individual
members for the month, day, year, weekday, hour, minute, second, and millisecond.
Code:
typedef struct _SYSTEMTIME { // st
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME;