3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $currentDate = strtotime("now"); $starttime=date("Y-m-d H:i:s", $currentDate); echo $starttime;
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.2.0
2014-06-28 13:29:24
Output for 5.0.0 - 5.0.2
2014-06-28 00:00:00