PHP jdtojewish() Function
Example
Convert a Julian day count to a Jewish calendar date:
Run Example »
Definition and Usage
The jdtojewish() function converts a Julian day count to a Jewish calendar date.
**Tip:** See the jewishtojd() function converts a Jewish calendar date to a Julian day count.
Syntax
jdtojewish(
jd,hebrew,fl);
| Parameters | Description |
|---|---|
| jd | Required. A number (the Julian day count). |
| hebrew | Optional. When set to TRUE, the output is in Hebrew format. Default is FALSE. |
| fl | Optional. Defines the Hebrew output format. Available formats are:
|
Technical Details
| Return Value: | Returns the Jewish calendar date in "month/day/year" form. |
|---|---|
| PHP Version: | 4+ |
| Changelog: | hebrew This parameter was added in PHP 4.3, and thefl This parameter was added in PHP 5.0. |
PHP Calendar Reference Manual