3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = '1899-12-30 19:30:00'; echo '<br>'.$finalTime = date("H:i:s",strtotime($time)); echo '<br>'.$date = date("d F Y",strtotime($time));
Output for 4.3.0 - 5.0.5, 5.2.6 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<br>19:30:00<br>30 December 1899
Output for 5.1.0 - 5.2.5
<br>01:00:00<br>01 January 1970