3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $newDate = strtotime("247"); $formattedTime = date('h:i:s a', $newDate); echo $formattedTime;
Output for 5.1.0 - 7.1.0
01:00:00 am
Output for 4.3.0 - 5.0.5
02:47:00 am