Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

win32_NTLogEvent TimeGenerated is in GMT and not local in Vista/w2

76 views
Skip to first unread message

tango

unread,
Oct 16, 2009, 6:59:01 AM10/16/09
to

We are using the win32_NTLogEvent class to retrieve events and store them to
a database. We have noticed that in windows 2008 32bit and vista 32bit the
win32_NTLogEvent.TimeGenerated is returned in GMT with an offset value of
000. In earlier versions of windows, win32_NTLogEvent.TimeGenerated is
returned in localtime with an offset relative to GMT.
For Example these two are exactly the same date:
WinXP TimeGenerated 10:00 GMT 120 (20091016100000.000000+120)
Vista/2008 TimeGenerated 08:00 GMT 000 (20091016080000.000000+000)

This, of course, creates inconsistency in data depending on the source OS.
We would like to know if this change is intentionate and if means of easily
recovering the local time instead have been provided.

Thank you very much,
Tango.

Steve

unread,
Nov 21, 2009, 3:20:01 PM11/21/09
to
Tango,

Did you ever get a response to this or find anything else out? I'm doing
some WMI script writting today and experienced the same issue and when I
started searching for answers, I saw your question.

Steve

tango

unread,
Dec 21, 2009, 5:52:01 AM12/21/09
to
No, I haven't. As this newsgroup has dissapeared I've posted the question to
another forum (network) but I haven't received any valid answer yet...

0 new messages