This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

How to convert Time

I have a SWQL Query with the nodeName, alertConfig, TimeStamp

from orion.alerthistory innerjoin with orion.nodes, leftJoin with orion.actions, orion.alertObjects, orion.alertconfigurations.   

My Where clause is WHERE a.ActionTypeID = 'Email'

AND DAYDIFF9ah.TimeStamp, GETUTCDATE()) <= 2

ORDER BY ah.TimeStamp ASC

It works great and gives me everything i need, but as you see the TIME is UTC, so i have to subtract 5 hours to get Central Time   LOL

How would I convert this in the Query?

Parents Reply Children
No Data