I' m trying to make a ajax calendar with multiple tabs for a date range previously entered. But for example:
I want get the next month, it prints march instead of february
$start= "2013-01-31";
$current = date('n', strtotime("+1 month",$start)) //prints 3
I think thats occurs because february 2014 is 28 and add +31 like base from the start month but why?