SYSTEMTIME

typedef struct _SYSTEMTIME { /* st */

WORD wYear;

WORD wMonth;

WORD wDayOfWeek;

WORD wDay;

WORD wHour;

WORD wMinute;

WORD wSecond;

WORD wMilliseconds;

} SYSTEMTIME;

typedef SYSTEMTIME *PSYSTEMTIME, *LPSYSTEMTIME;

The SYSTEMTIME structure represents a date and time using individual members for the month, day, year, weekday, hour, minute, second and millisecond.

Members

wYear

The current year.

wMonth

The current month; January is one.

wDayOfWeek

The current day of the week; Sunday is zero, Monday is one, etc.

wDay

The current day of the month.

wHour

The current hour.

wMinute

The current minute.

wSecond

The current second.

wMilliseconds

The current millisecond.

See Also

GetSystemTime, SetSystemTime