3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (date("m/d/Y").' - 1 second'); echo "\n"; echo strtotime('tomorrow - 1 second'); echo "\n"; echo date("m/d/Y h:i:s",strtotime('tomorrow - 1 second'));
based on PGOIc
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
10/31/2014 - 1 second 1414796399 10/31/2014 11:59:59
Output for 5.1.0 - 5.1.1
10/31/2014 - 1 second 01/01/1970 01:00:00
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
10/31/2014 - 1 second 1414848423 11/01/2014 02:27:03
Output for 5.0.0 - 5.0.2
10/31/2014 - 1 second 1414796401 11/01/2014 12:00:01