over 5 years ago
cal_days_in_month() function is a PHP calendar function. This function always return number of days in a specified calendar for month of year .
Syntax is : -
cal_days_in_month ( $calendar, $month, $year );
parameter are : -
calendar - Required. Calendar for calculate.
month - Required. Month of that calendar
year - Required. Year of that calendar
Return value is length in day of calendar selected month
Example : -
$num = cal_days_in_month(CAL_GREGORIAN, 8, 2003);
echo "There was $num days in August 2003";
Output is -
There was 31 days in August 2003
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2021 FindNerd.com. All rights reserved.
Sign up using