Share via


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
System_CAPS_pubmethod Equals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodSystem_CAPS_static FromDateTime(DateTime)

Converts time from DateTime to SystemTime.

System_CAPS_pubmethod GetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToDateTime()

Converts time from SystemTime to DateTime.

System_CAPS_pubmethodSystem_CAPS_static ToDateTime(SystemTime)

Converts time from SystemTime to DateTime.

System_CAPS_pubmethod ToString()

(Inherited from ValueType.)

Fields

Name Description
System_CAPS_pubfield Day

The day of the month.

Valid values are: 1 through 31.

System_CAPS_pubfield DayOfWeek

The day of the week.

Valid values are: 0 (Sunday), 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday).

System_CAPS_pubfield Hour

The hour.

Valid values are: 0 through 23.

System_CAPS_pubfield Milliseconds

The millisecond.

Valid values are: 0 through 999.

System_CAPS_pubfield Minute

The minute.

Valid values are: 0 through 59.

System_CAPS_pubfield 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).

System_CAPS_pubfield Second

The second.

Valid values are: 0 through 59.

System_CAPS_pubfield 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