Reply to Re: Dates before 1969

Your name:

Reply:


Posted by Erwin Moller on 09/27/12 11:36

Janwillem Borleffs wrote:

> DJ Craig wrote:
>> Is there any way that I
>> can fix my program without having to start over writing my own date
>> functions? My program uses the strtotime() and date() functions.
>
> Have a look at the calendar functions:
>
> http://www.php.net/calendar
>
> Example:
>
> $jid = gregoriantojd(10, 15, 1582);
> print_r(cal_from_jd($jid, CAL_GREGORIAN));
>
> Don't forget to read the notice regarding the application of Gregorian
> calendars with dates before 1582-10-15 on the following page:
>
> http://www.php.net/gregoriantojd
>
>
> JW

Thanks too.

That is also excactly what I was looking for. :-)
I added a note to date() for people to look at calendar too, like you
suggested.

Thanks.

Erwin Moller

PS: I hate dates and computers. I hated them when I did Java, I hated them
when I did VB, I hate them always.

[Back to original 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

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