3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "6 October, 2014"; $time = "1:30 AM"; $ts = strtotime($date." ".$time); $d = date("m/d/Y g:i a",$ts); echo $ts." ".$d; ?>
based on eRai6
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
01/01/1970 1:00 am
Output for 5.1.0 - 5.1.2
1412551800 10/06/2014 1:30 am
Output for 4.3.0 - 5.0.5
-1 01/01/1970 12:59 am