3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '2010/2/12'; $t2 = '05/09/2011'; //echo $ut=strtotime($t); //echo date('Y-m-d H:i:s',$ut); echo date('Y-m-d H:i:s',strtotime($t));
Output for 4.3.0 - 7.2.0
2010-02-12 00:00:00