@ 2013-07-05T03:38:06Z <?php
$nextmonth=mktime(0,0,0,date(“m”)+1,date(“d”),date(“y”));
echo “Next month is”.date(“d/m/y”,$nextmonth);//it prints next month with today’s date
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 5.4.0 - 5.4.17 Parse error: syntax error, unexpected 'month' (T_STRING), expecting ',' or ';' in /in/Q3cNP on line 3
Process exited with code 255 . Output for 5.3.0 - 5.3.26 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/Q3cNP on line 3
Process exited with code 255 . preferences:dark mode live preview
165.82 ms | 1395 KiB | 52 Q