ManagementDateTimeConverter Class
.NET Framework (current version)
Provides methods to convert DMTF datetime and time intervals to CLR-compliant DateTime and TimeSpan format and vice versa.
Assembly: System.Management (in System.Management.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | ToDateTime(String^) | |
![]() ![]() | ToDmtfDateTime(DateTime) | Converts a given DateTime to DMTF datetime format. |
![]() ![]() | ToDmtfTimeInterval(TimeSpan) | Converts a given TimeSpan to DMTF time interval. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | ToTimeSpan(String^) | Converts a given DMTF time interval to a TimeSpan. |
.NET Framework
Available since 1.1
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:

