I'm trying to use LastBoot in a query and it displays in UTC, how can I covert to my EDT? Do I just do the math and subtract 5 or is there a better SWQL way to do it?
Here is my current query:
SELECT TOP 20 NodeID, IPAddress, Caption, SysName, Status, PolledStatus, StatusLED, StatusDescription, StatusIcon, LastBoot, SystemUpTime, DetailsURL
FROM Orion.Nodes
WHERE vendor = 'Cisco' AND SystemUpTime <= 86400
I just want to display any device that rebooted in the last 2 days. I'm displaying by LastBoot Time but that is in UTC.
Thanks for any help.