Re: Call for Votes: PEAR::Calendar
| From: | Kouber Saparev | Date: | Fri, 24 Oct 2003 11:01:51 +0000 |
| Subject: | Re: Call for Votes: PEAR::Calendar | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22959@lists.php.net to get a copy of this message | ||
"Alan Knowles" <alan@akbkhome.com> wrote in message
news:3F9795B0.7050802@akbkhome.com...
> Jan Schneider wrote:
> > Zitat von Alan Knowles <alan@akbkhome.com>:
> >
> >
> >>It would be nice to handle non-unixtime dates like < 1970.. - but I
> >>guess that has to wait until we have someone bothered to write the
> >>algoritmns to do it...
> >
> >
> > The Date package, if it wasn't still broken, handles such dates.
>
> unfortunaltly only in the sense that it stores the numbers? - it doesnt
> know if "29 Feb 1023" is really a leap year with 29 days...
> (or did I miss something :)
Something I've found a propos de leap years:
"The leap year was introduced in the Julian calendar in 46 BC. However,
around 10 BC, it was found that the priests in charge of computing the
calendar had been adding leap years every three years instead of the four
decreed by Caesar. As a result of this error, no more leap years were added
until 8 AD. Leap years were therefore 45 BC, 42 BC, 39 BC, 36 BC, 33 BC, 30
BC, 27 BC, 24 BC, 21 BC, 18 BC, 15 BC, 12 BC, 9 BC, 8 AD, 12 AD, and every
fourth year thereafter, until the Gregorian calendar was introduced
(resulting in skipping three out of every four centuries). The UNIX command
cal incorrectly lists 4 AD as a leap year."
>
> Regards
> Alan
>
>
> > Jan.
> >
> > --
> > http://www.horde.org - The Horde Project
> > http://www.ammma.de - discover your knowledge
> > http://www.tip4all.de - Deine private Tippgemeinschaft
> >
>
>
> --
> Can you help out?
> Need Consulting Services or Know of a Job?
> http://www.akbkhome.com