You are here: Re: [PHP] date() problem « PHP « IT news, forums, messages
Re: [PHP] date() problem

Posted by Philip Hallstrom on 07/07/05 00:44

> of leap years between the two dates. Leap years occur every 4 years, and 17
> / 4 = 4.25, so there were 4 leap years between 7/6/88 and 7/6/05 and

Just to nitpick... :-)

http://en.wikipedia.org/wiki/Leap_year

The Gregorian calendar adds an extra day to February, making it 29 days
long, in years where the quotient has no remainder when divided by 4,
excluding years where the quotient has no remainder when divided by 100,
but including years where the quotient has no remainder when divided by
400. So 1996, 2000, and 2400 are leap years but 1800, 1899, 1900 and 2100
are not.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация