SYSTEMTIME Structure
Represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from ValueType.) |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() | 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. |
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 a FILETIME structure.
Copy the resulting FILETIME structure to a ULARGE_INTEGER structure.
Use normal 64-bit arithmetic on the ULARGE_INTEGER value.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

