3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "2013-08-05 24:32:23"; echo date("m/d/Y h:i:s A",strtotime($date));
Output for 5.3.0 - 7.1.0
08/06/2013 12:32:23 AM
Output for 5.1.0 - 5.2.17
01/01/1970 01:00:00 AM
Output for 4.3.0 - 5.0.5
01/01/1970 12:59:59 AM