PHP.nl

cal_to_jd

cal_to_jd

Converts from a supported calendar to Julian Day Count

int **cal_to_jd** int $calendar int $month int $day int $year
calculates the Julian day count

for a date in the specified . Supported s are , , and . cal_to_jd``calendar``calendar``CAL_GREGORIAN``CAL_JULIAN``CAL_JEWISH``CAL_FRENCH

calendar Calendar to convert from, one of , , or . CAL_GREGORIAN``CAL_JULIAN``CAL_JEWISH``CAL_FRENCH

month The month as a number, the valid range depends on the calendar

day The day as a number, the valid range depends on the calendar

year The year as a number, the valid range depends on the calendar

A Julian Day number.

cal_from_jd``frenchtojd``gregoriantojd``jewishtojd``juliantojd``unixtojd