PHP: jewishtojd() function
The jewishtojd() function converts a Jewish calendar date to a Julian day count.
Note : 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.
(PHP 4 and above)
jewishtojd(month, day, year)
|month||Specified month (from 1 to 13) from the Jewish calendar.||Required||Integer|
|day||Specified day (from 1 to 30 ) from the Jewish calendar.||Required||Integer|
|year||Specified year (between 1 and 9999 )from the Jewish calendar.||Required||Integer|
The Julian day.
Value Type: Integer.
<?php echo(jewishtojd(4, 5, 5863)); ?>