3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Montevideo'); $hoy = date('d-m-Y H:i:s'); $hoystr = strtotime($hoy); $mañana = date('d-m-Y H:i:s',strtotime('+1 day', $hoystr)); echo $hoy; echo "\n"; echo $mañana; echo "\n"; echo strtotime(date('H:i',$hoystr)); echo "\n"; echo strtotime('09:00:00');
based on R5ONu
Output for 5.6.13 - 7.2.0
07-10-2015 21:58:45 08-10-2015 21:58:45 1444265880 1444219200
Output for 5.4.0 - 5.6.12
07-10-2015 22:58:45 08-10-2015 22:58:45 1444265880 1444215600