cal_info
Returns information about the specified calendar.
cal_info()
function returns information about the specified calendar.
Return information about the Gregorian calendar:
<?php print_r ( cal_info ( 0 ) ) ; ?>
Run the instance
cal_info ( calendar ) ;
parameter | describe |
---|---|
calendar |
Optional. Specify a number indicating the calendar. The following constants can be used:
Tip: If the calendar parameter is omitted, cal_info() returns information about all calendars. |