I\'ve a function that returns url of 1 month before.
I\'d like to display current selected month, but I cannot use simple current month, cause when user clicks link
simple method:
$next_month = strtotime('august 2012 next month');
better method:
$d = new Date('August 2012'); $next_month = $d->add(new DateInterval('P1M'));
relevant docs: strtotime date dateinterval