ManagementDateTimeConverter::ToDmtfDateTime Method (DateTime)
Converts a given DateTime to DMTF datetime format.
Assembly: System.Management (in System.Management.dll)
Date and time in WMI is represented in DMTF datetime format. This format is explained in WMI SDK documentation. The DMTF datetime string represented will be with respect to the UTC offset of the current time zone. The lowest precision in DMTF is microseconds; in DateTime, the lowest precision is Ticks, which are equivalent to 100 nanoseconds. During conversion, Ticks are converted to microseconds and rounded off to the nearest microsecond.
Available since 1.1