\n"; $month_time = strtotime("$this_year-01-01"); $getdate_month = date("m", strtotime($getdate)); // echo "$this_day, $this_year"; // build the tags for ($i=0; $i<12; $i++) { $monthdate = date ("Ymd", $month_time); $month_month = date("m", $month_time); $select_month = localizeDate($dateFormat_month, $month_time); if ($month_month == $getdate_month) { print "$select_month\n"; } else { print "$select_month\n"; } $month_time = strtotime ("+1 month", $month_time); } // finish print ""; ?>