print next month

How can I print "next month" as the full name format. i.e. March
petewinterAsked:
Who is Participating?
 
Beverley PortlockConnect With a Mentor Commented:
You probably want a mix of strtotime and date like so

$nextMonth = date("F", strtotime("NOW +1 MONTH") )

See

http://www.php.net/strtotime
http://www.php.net/date

0
 
petewinterAuthor Commented:
Many thanks
0
All Courses

From novice to tech pro — start learning today.