cal_days_in_month

(PHP 4 >= 4.0.7RC1)

cal_days_in_month -- Return the number of days in a month for a given year and calendar

Description

int cal_days_in_month (int calendar, int month, int year)

This function will return the number of days in the month of year for the specified calendar.

See also jdtounix().

Note: This function is only available in PHP versions after PHP 4RC1.