Re: getting number of days in agiven month
| From: | David Robley | Date: | Tue, 27 Mar 2001 00:55:48 +0000 |
| Subject: | Re: getting number of days in agiven month | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45676@lists.php.net to get a copy of this message | ||
On Tue, 27 Mar 2001 10:22, Juan Luis Baptiste wrote:
> Hi,
>
> Is there a way to find out the mumber of days of a given month? for
>
> example a function that I pass the month number i.e. 02 (February) and
>
> it returns 28?
>
> thanks.
See date() and the t format character.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA