What is Calendar cal days in month in PHP
In this article I am going to explain about cal_days_in_month function in PHP
PHP Calendar cal_days_in_month() Function
This function will return the number of days in the month of the year for a given calendar.
Syntax of cal_day_in_month function
|cal_days_in_month(calendar, month, year)
Parameters in cal_day_in_month function
It have three parameters and all parameters is requried.
||It is used for calculation.
||It specified month in selected calendar.
||It specified year in selected calendar.
Example of cal_day_in_month function
echo("There was $daysval days in July 2012");
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