3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "04/01/2015"; $time = strtotime($str); var_dump($time); echo date("m/d/y g:i a", $time);
based on L7s0f
Output for 4.3.0 - 7.2.0
int(1427839200) 04/01/15 12:00 am