Time zone of root server in relevance

I have an analysis with property defined like this:

modification time of (file (“C:\SCOM\cert” & computer name & “.req”))

But we have servers from about 30 time zones (rough estimate) and I’d like to have the property displayed with my own time zone (which is the same as all servers in BES infrastructure). Any advice how can I do that?

While not a conversion to your own time zone, one approach that I might recommend here is to convert the time to UTC:

modification time of (file ("C:\SCOM\cert" & computer name & ".req")) as universal string

It’s very strange that it works with “universal string” but not “universal time zone”. But I guess UTC is also fine, it’s just informational property meant for better orientation and sorting of the results, so we’ll just add one or two hours, depending on actual summer/winter time to the time displayed.

1 Like