note 21470 added to function.mcal-days-in-month

From: Date: Tue, 14 May 2002 13:13:42 +0000
Subject: note 21470 added to function.mcal-days-in-month
Groups: php.notes 
Request: Send a blank email to php-notes+get-30625@lists.php.net to get a copy of this message
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)) -- http://www.php.net/manual/en/function.mcal-days-in-month.php http://master.php.net/manage/user-notes.php?action=edit+21470 http://master.php.net/manage/user-notes.php?action=delete+21470 http://master.php.net/manage/user-notes.php?action=reject+21470

« previous php.notes (#30625) next »