Unix timestamp from json query
Posted: Thu Mar 12, 2015 6:57 am
Hello,
When I query alertlist from Nagios XI with json query, all the timestamp looks like this:
1426080059000
Unix time is actually like this? 1426080059. When I query this to show the recent alerts in some listview, can I safely divide these timestamps by 1000? Why does Nagios multiply the timestamps by 1000?
Grtz
Willem
When I query alertlist from Nagios XI with json query, all the timestamp looks like this:
1426080059000
Unix time is actually like this? 1426080059. When I query this to show the recent alerts in some listview, can I safely divide these timestamps by 1000? Why does Nagios multiply the timestamps by 1000?
Grtz
Willem