PHP JDToJewish() Function
Example
Convert Julian Day Count to the date of the Jewish calendar:
<?php $jd=jdtojewish(1084191); echo $jd; ?>
Definition and Usage
The jdtojewish() function converts Julian Day Count to the date of the Jewish calendar.
Tip:See Also jewishtojd() The function converts the date of the Jewish calendar to Julian Day Count.
Syntax
jdtojewish(jd,hebrew,fl);
Parameter | Description |
---|---|
jd | Required. Number (Julian Day Count). |
hebrew | Optional. When set to TRUE, it indicates the Hebrew output format. The default is FALSE. |
fl |
Optional. Define the Hebrew output format, available formats include:
|
Technical Details
Return Value: | Returns the date of the Jewish calendar in the format "month/day/year". |
---|---|
PHP Version: | 4+ |
Update Log: | hebrew The parameter was added in PHP 4.3,fl The parameter was added in PHP 5.0. |