Redigera

Dela via


Date and Time Format

WMI uses the date and time formats defined by the Distributed Management Task Force (DMTF.org) Common Information Model (CIM) specification.

The CIM_DATETIME format is implemented in the Microsoft Managed Object Format (MOF) by the DATETIME MOF datatype. The date and time formats can also express an interval of time.

For more information about WMI formats, see CIM_DATETIME and Interval Format.

For more information about converting to and from the WMI DATETIME format, see SWbemDateTime and the article on TechNet ScriptCenter It's About Time (Oh, and About Dates, too).

About WMI