Re: detecting leap years?
| From: | Michelle Konzack | Date: | Mon, 22 Jan 2018 07:31:56 +0000 |
| Subject: | Re: detecting leap years? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326367@lists.php.net to get a copy of this message | ||
Am 2018-01-20 hackte Jeffry Killen in die Tasten:
> Is there a function for detecting leap years?
As far as I know no, but I asked date() for the (day of year)
by feeding date() with "$current_year-12-31"
which should give you 365 or 366.
Thanks in avance
--
Michelle Konzack Miila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400