\n"; $month_time = strtotime("$this_year-01-01"); $getdate_month = date("m", strtotime($getdate)); // echo "$this_day, $this_year"; // build the \n"; } else { print "\n"; } $month_time = strtotime ("+1 month", $month_time); } // finish "; ?>