سؤال

what is the meaning of eventlog time generated value in wmi "20061101185842.000000-000".

when i am using windows event viewer it gives the date and time format as " 2/13/2013 4:05:15 PM " but when i am accessing it in win32_NTLogEvent, it gives the format as "20061101185842.000000-000".

please clear my doubt...

Thanks in advance...

هل كانت مفيدة؟

المحلول

The WMI uses the Universal Time Coordinate (UTC) format, try these articles for more information.

نصائح أخرى

You can convert it to DateTime like this:

ManagementDateTimeConverter.ToDateTime(yourValue);

where yourValue is a string like this: "20061101185842.000000-000"

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top