Convert a Jewish calendar date to a Julian day count:
<?php$jd=jewishtojd(6,20,2007);echo $jd;?>The jewishtojd() function converts a Jewish calendar date to a Julian day count.
Note: The valid range of dates processed by this function is from 3761 BC on the Jewish calendar. The Jewish calendar has existed for thousands of years, but in the early days there was no formulaic way to calculate the beginning of the month. The new moon is first observed in the first month of each year.
Tip: See the jdtojewish() function to convert Julian day counts to Jewish calendar dates.
jewishtojd( month,day,year);
parameter | describe |
---|---|
month | Required. A number from 1 to 13 specifying the month. |
day | Required. A number from 1 to 30 specifying the day. |
year | Required. A number from 1 to 9999 specifying the year. |
Return value: | Returns the Julian day number. |
---|---|
PHP version: | 4+ |