$statistic_day = date ( "Y-m-d", mktime ( 0, 0, 0, 4, $i, 2011 ) );
$next_day = date ( "Y-m-d", strtotime ( $statistic_day . " -1 day" ) ); //取前一天
两个日期想减
$days_count = (strtotime ( $end_date ) - strtotime ( $begin_date )) / 86400;
$statistic_day = date ( "Y-m-d", mktime ( 0, 0, 0, 4, $i, 2011 ) );
$next_day = date ( "Y-m-d", strtotime ( $statistic_day . " -1 day" ) ); //取前一天
两个日期想减
$days_count = (strtotime ( $end_date ) - strtotime ( $begin_date )) / 86400;