The jdtojewish() function converts a Julian Day Count to a Jewish date.
PHP jdtojewish() Function has the following syntax.
jdtojewish(jd,hebrew,fl);
Parameter | Is Required | Description |
---|---|---|
jd | Required. | A Julian Day number |
hebrew | Optional. | TRUE indicates Hebrew output format. FALSE is default. |
fl | Optional. | Defines the Hebrew output format. |
The available formats are:
PHP jdtojewish() Function returns a Jewish date in format "month/day/year".
Convert a Julian Day Count to a Jewish date:
<?php
$jd=jdtojewish(1789430);
echo $jd;
?>
The code above generates the following result.