SystemTime Structure
Implementation of the native SYSTEMTIME structure.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
[SerializableAttribute]
public struct SystemTime
[SerializableAttribute]
public value struct SystemTime
<SerializableAttribute>
Public Structure SystemTime
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from ValueType.) |
|
FromDateTime(DateTime) | Converts time from DateTime to SystemTime. |
|
GetHashCode() | (Inherited from ValueType.) |
|
GetType() | (Inherited from Object.) |
|
ToDateTime() | Converts time from SystemTime to DateTime. |
|
ToDateTime(SystemTime) | Converts time from SystemTime to DateTime. |
|
ToString() | (Inherited from ValueType.) |
Fields
Name | Description | |
---|---|---|
Day | The day of the month. Valid values are: 1 through 31. |
|
DayOfWeek | The day of the week. Valid values are: 0 (Sunday), 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday). |
|
Hour | The hour. Valid values are: 0 through 23. |
|
Milliseconds | The millisecond. Valid values are: 0 through 999. |
|
Minute | The minute. Valid values are: 0 through 59. |
|
Month | The month. Valid values are: 1 (January), 2 (February), 3 (March), 4 (April), 5 (May), 6 (June), 7 (July), 8 (August), 9 (September), 10 (October), 11 (November), 12 (December). |
|
Second | The second. Valid values are: 0 through 59. |
|
Year | The year. Valid values are: 1601 through 30827. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top