Leap Year

------=_NextPart_000_0020_01CBC11D.BF61EF70
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable


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
=E2=80=9CEncouragement from God=E2=80=99s Word=E2=80=9D
http://www.TheVerseOfTheDay.info

------=_NextPart_000_0020_01CBC11D.BF61EF70--
ron.piggott [ Mo, 31 Januar 2011 14:06 ] [ ID #2054249 ]

Re: Leap Year

On Mon, Jan 31, 2011 at 8:06 AM, Ron Piggott
<ron.piggott [at] actsministries.org> wrote:
>
> Does mySQL have the ability to figure out if it is leap year? =A0If so, w=
hat is the correct syntax for:
>
> AND `day` <> 366 "unless it is leap year"
> Ron
>
> The Verse of the Day
> =93Encouragement from God=92s Word=94
> http://www.TheVerseOfTheDay.info
>

http://www.phpclasses.org/package/3539-PHP-Check-whether-a-g iven-year-is-a-=
leap-year.html

http://www.freeopenbook.com/mysqlcookbook/mysqlckbk-CHP-5-SE CT-28.html

http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functio ns.html

--

Bastien

Cat, the other other white meat

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Phpster [ Mo, 31 Januar 2011 20:33 ] [ ID #2054250 ]
PHP » gmane.comp.php.database » Leap Year

Vorheriges Thema: PostgreSQL Conference East: 2011 CFP
Nächstes Thema: stripslashes ( encodings to from MySQL )