windows_programming_notes.nbk: Home | Index | Next Page: TabCtrl_AdjustRect | Previous Page: STN_ENABLE


 SYSTEMTIME

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

typedef struct _SYSTEMTIME { 
    WORD wYear; 
    WORD wMonth; 
    WORD wDayOfWeek; 
    WORD wDay; 
    WORD wHour; 
    WORD wMinute; 
    WORD wSecond; 
    WORD wMilliseconds; 
} SYSTEMTIME, *PSYSTEMTIME; 

Members

Remarks It is not recommended that you add and subtract values from the SYSTEMTIME structure to obtain relative times. Instead, you should

Requirements

  Windows NT/2000 or later: Requires Windows NT 3.1 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Winbase.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: TabCtrl_AdjustRect | Previous Page: STN_ENABLE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time