How to use Calendar cal info in PHP
In this article I am going to explain about calendar cal_info function in PHP.
PHP Calendar cal_info() Function
The calendar cal_info function returns an array that contains information about a specified calendar.
Syntax of cal_info function
Parameters in cal_info function
It has only one parameter:
Parameter |
Description |
calendar |
It is optional parameter an it specifies the calendar. |
Example of Calendar cal_info function
<html>
<body>
<?php
$calinfo = cal_info(0);
print_r($calinfo);
?>
</body>
</html>
|
Output:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here