number of days in a month
| From: | Jesper Juhl | Date: | Tue, 29 Aug 2000 07:20:02 +0000 |
| Subject: | number of days in a month | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14059@lists.php.net to get a copy of this message | ||
Hi,
Is there an easy way in PHP4 to get the number of days in any given
month?
I realize that I could make a switch statement with the months and then
take leapyears into account, but is there some function that I could call
with the year and month as parameters and then get the number of days in
that month?
Thanks in advance,
Jesper Juhl
juhl@eisenstein.dk