(PHP 4 >= 4.1.0)
int cal_days_in_month (int calendar, int month, int year)
int cal_days_in_month
This function will return the number of days in the month of year for the specified calendar.
See also jdtounix().