note 21470 deleted from function.mcal-days-in-month by philip
| From: | philip@php.net | Date: | Fri, 28 Nov 2008 19:44:13 +0000 |
| Subject: | note 21470 deleted from function.mcal-days-in-month by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147131@lists.php.net to get a copy of this message | ||
Note Submitter: tmhesket_AT_BRADFORDdot_ac_DOTuk
----
In case anyone gets confused in the same way I did, the "int leap year" parameter is not
for the year itself.
"int leap year" is a boolean indicating whether the year in question is a leap year.
If you have $month and $year, you can find out the number of days easily:
mcal_days_in_month($month, mcal_is_leap_year($year))