Reply to Re: Dates before 1969

Your name:

Reply:


Posted by Janwillem Borleffs on 09/28/77 11:36

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

[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

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