- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected ';' in /in/mnkmH on line 4
Process exited with code 255.
<?php
$date = date('Y-m-d H:m:s');
echo $date;
$newdate = date('Y-m-d H:m:s', strtotime($date. ' +7 days');
echo $newdate;