3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $Draw_time = "29/01/2016 7pm"; $date = DateTime::createFromFormat("d/m/Y ha",$Draw_time); echo $date->format('Y-m-d H:i:s');
Output for 5.3.22 - 7.2.0
2016-01-29 19:00:00