Posted by Janwillem Borleffs on 10/09/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
Navigation:
[Reply to this message]
|