Re: Leap Year
| From: | Bastien Koert | Date: | Mon, 31 Jan 2011 19:33:19 +0000 |
| Subject: | Re: Leap Year | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47670@lists.php.net to get a copy of this message | ||
On Mon, Jan 31, 2011 at 8:06 AM, Ron Piggott
<ron.piggott@actsministries.org> wrote:
>
> Does mySQL have the ability to figure out if it is leap year? If so, what is the correct
> syntax for:
>
> AND
day <> 366 "unless it is leap year"
> Ron
>
> The Verse of the Day
> “Encouragement from God’s Word”
> http://www.TheVerseOfTheDay.info
>
http://www.phpclasses.org/package/3539-PHP-Check-whether-a-given-year-is-a-leap-year.html
http://www.freeopenbook.com/mysqlcookbook/mysqlckbk-CHP-5-SECT-28.html
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html
--
Bastien
Cat, the other other white meat