3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $seconds_input = (int) 63345422243; $hours = floor($seconds_input / 3600); $minutes = floor(($seconds_input / 60) % 60); $seconds = $seconds_input % 60; printf("%02d:%02d:%02d", $hours, $minutes, $seconds); echo "\n"; echo gmdate('H:i:s', $seconds_input);
Output for 4.3.0 - 7.1.0
17595950:37:23 14:37:23