Quote:
Originally Posted by noppid
Simple adjustment.
PHP Code:
$nextmonth = date("m/d/Y", mktime(0, 0, 0, 1, date("m")+1, date("Y")));
We just moved the m and d in the output format.
|
Fantasic, works perfectly, thanks Noppid & sirAdrian
got one question with regards to this, would it carry the year over if say for example current date was mid december would it then correctly display 01/01/08 ?