3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $format = "Y/m/d H:i:s"; echo date($format); echo "\n\r"; echo time(); echo "\n\r"; echo date($format, time()); echo "\n\r"; echo date(strtotime('2014/09/26 23:59:59'));
based on 681Ov
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
2014/08/22 07:55:50 1408686950 2014/08/22 07:55:50 1411768799