by prettyscripts on 2008-02-01 09:00:31
to get next month it should be as simple as:
PHP:
according to one of the comments in mktime, an incorrect month returns if the month you’re trying to get has less number of days than the current month.
to fix, simply supply 1 in the optional day parameter:
PHP: