3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $calcul = strtotime("today") - strtotime("09-12-2013"); echo $calcul; //echo strftime("%d-%m-%Y", $calcul) . '<br />'; echo strftime("%d-%m-%Y", strtotime("today"));
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
-734760015-09-2013
Output for 5.1.0 - 5.1.2
137919600015-09-2013
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
-5422137915-09-2013
Output for 5.0.0 - 5.0.2
-5425920015-09-2013