SYSTEMTIME Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.
public value class SYSTEMTIME
public value class SYSTEMTIME
struct SYSTEMTIME
public struct SYSTEMTIME
type SYSTEMTIME = struct
Public Structure SYSTEMTIME
- Inheritance
-
SYSTEMTIME
Remarks
It is recommended that you not add and subtract values from the SYSTEMTIME
structure to obtain relative times. Instead, you should
Convert the
SYSTEMTIME
structure to aFILETIME
structure.Copy the resulting
FILETIME
structure to aULARGE_INTEGER
structure.Use normal 64-bit arithmetic on the
ULARGE_INTEGER
value.
Fields
wDay |
Specifies the current day of the month. |
wDayOfWeek |
Specifies the current day of the week; Sunday = 0, Monday = 1, and so on. |
wHour |
Specifies the current hour. |
wMilliseconds |
Specifies the current millisecond. |
wMinute |
Specifies the current minute. |
wMonth |
Specifies the current month. |
wSecond |
Specifies the current second. |
wYear |
Specifies the current year. The year must be greater than 1601. |