PHP.nl

jewishtojd

jewishtojd

Converts a date in the Jewish Calendar to Julian Day Count

int **jewishtojd** int $month int $day int $year

Although this function can handle dates all the way back to the year 1 (3761 B.C.), such use may not be meaningful. The Jewish calendar has been in use for several thousand years, but in the early days there was no formula to determine the start of a month. A new month was started when the new moon was first observed.

month The month as a number from to , where means , means , and mean in regular years, but and , respectively, in leap years. 1``13``1``Tishri``13``Elul``6and7``Adar``Adar I``Adar II

day The day as a number from to . If the month has only 29 days, the first day of the following month is assumed. 1``30

yearThe year as a number between 1 and 9999

The julian day for the given jewish date as an integer.

jdtojewish``cal_to_jd