php get month -1 code example
Example 1: php grab month from date
$month = date("m",strtotime($mydate));
Example 2: +1 month php
$time = strtotime("2010.12.11");
$final = date("Y-m-d", strtotime("+1 month", $time));
$month = date("m",strtotime($mydate));
$time = strtotime("2010.12.11");
$final = date("Y-m-d", strtotime("+1 month", $time));