How can I check how many hours a server is up using Pingdom API?
this is the example of php code that show days but I would lie to check and show days too.
thank you for your time:
https://github.com/martip07/pingdom-uptime-status/blob/master/index.php