I want to get next and previous month from given date. this is my code.
$month = \'2011-01-20\';
$prevMOnth = funP($month); $nextMonth = funN($month);