cal_info

cal_info

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

cal_infoReturns information about a particular calendar

Description

array cal_info ([ int $calendar = -1 ] )

cal_info() returns information on the specified calendar.

Calendar information is returned as an array containing the elements calname, calsymbol, month, abbrevmonth and maxdaysinmonth. The names of the different calendars which can be used as calendar are as follows: