PHP JewishToJD() Functions

Example

Convert Jewish calendar date to Julian Day count:

<?php
$jd=jewishtojd(9,25,2016);
echo $jd;
?>

Run Example

Definition and Usage

The jewishtojd() function converts the Jewish calendar date to Julian Day count.

Note:The valid date range for the function is from the Jewish calendar year 3761 BC. The Jewish calendar has existed for thousands of years, but there was no formalized method of calculating the beginning month in the early days. The first month of each year is the first observed new moon.

Tip:See also jdtojewish() The function converts Julian Day count to the Jewish calendar date.

Syntax

jewishtojd(month,day,year);
Parameter Description
month Required. Specifies a month between 1 and 13, numerical value.
day Required. Specifies a day between 1 and 30, numerical value.
year Required. Specifies a year between 1 and 9999, numerical value.

Technical Details

Return Value: Return Julian Day number.
PHP Version: 4+