@ 2015-10-07T19:00:36Z <?php
date_default_timezone_set('America/Montevideo');
$hoy = date('d/m/Y H:i:s');
$mañana = date('d/m/Y H:i:s',strtotime('+1 day', $hoy));
echo $hoy;
echo "\n";
echo $mañana;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught TypeError: strtotime(): Argument #2 ($baseTimestamp) must be of type ?int, string given in /in/UjRgf:4
Stack trace:
#0 /in/UjRgf(4): strtotime('+1 day', '07/10/2015 16:0...')
#1 {main}
thrown in /in/UjRgf on line 4
Process exited with code 255 . Output for 5.6.13 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.33 Notice: A non well formed numeric value encountered in /in/UjRgf on line 4
07/10/2015 16:00:37
01/01/1970 21:00:07 Output for 7.3.32 - 7.3.33 07/10/2015 16:00:37
01/01/1970 21:00:07 Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.12 Notice: A non well formed numeric value encountered in /in/UjRgf on line 4
07/10/2015 17:00:37
01/01/1970 21:00:07 preferences:dark mode live preview
270.52 ms | 402 KiB | 376 Q