3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = '19:24:15 06/13/2013'; echo date('h:i:s a m/d/Y', strtotime($date));
Output for 4.3.0 - 4.3.5, 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
07:24:15 pm 06/13/2013
Output for 4.3.6 - 5.0.5
12:59:59 am 01/01/1970