WMI Dates and times are in DMTF datetime format. The following is the command to convert a given DMTF datetime to DateTime.
1 |
DateTime Date = ManagementDateTimeConverter.ToDateTime(WMIDate); |
WMI Dates and times are in DMTF datetime format. The following is the command to convert a given DMTF datetime to DateTime.
1 |
DateTime Date = ManagementDateTimeConverter.ToDateTime(WMIDate); |