3v4l.org

run code in 300+ PHP versions simultaneously
<?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', $hoy)); $mañana = date('+1 day', $hoystr); echo $hoy; echo "\n"; echo $mañana;

preferences:
45.99 ms | 402 KiB | 5 Q