Specifies a date and time using individual members for month, day, year, weekday, etc.
typedef struct tagSystemTime {
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
DWORD dwMicrosecond;
} SYSTEMTIME, *LPSYSTEMTIME;
Fields
wYear
- The year. Valid values range from 1978 through 2199.
wMonth
- The month. Valid values range from 1 through 12, where 1 represents January.
wDayOfWeek
- The day of the week. Valid values range from 0 through 6, where 0 represents Sunday.
wDay
- The day of the month. Valid values range from 1 through 31.
wHour
- The hour. Valid values range from 0 through 23.
wMinute
- The minute. Valid values range from 0 through 59.
wSecond
- The second. Valid values range from 0 through 59.
dwMicrosecond
- The microsecond. Valid values are 0 through 999999.