I have problem in php find start date & end date of month & year , when i know the year and month ?
ex:
input - > year = 2011 , month = 0
Start date will always be 1 and you can find the end date with the following function.
cal_days_in_month(CAL_GREGORIAN, $month, $year);
reference:
cal_days_in_month ( int $calendar , int $month , int $year ) : int