\[code\]$year = 2010;$month = 10;\[/code\]how to get prev Month \[code\]2010-09\[/code\] and next Month \[code\]2010-11\[/code\]thanks