3v4l.org

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