jdtojewish

Converts a Julian day count to a Jewish calendar date

&reftitle.description; `string` `jdtojewish` `int` `juliandaycount` `bool` `hebrew` false `int` `fl` 0

Converts a Julian Day Count to the Jewish Calendar.

&reftitle.parameters;

`julianday`

- A julian day number as integer

`hebrew`

- If the `hebrew` parameter is set to &true;, the `fl` parameter is used for Hebrew, string based, output format.

`fl`

- The available formats are: `CAL_JEWISH_ADD_ALAFIM_GERESH`, `CAL_JEWISH_ADD_ALAFIM`, `CAL_JEWISH_ADD_GERESHAYIM`.

&reftitle.returnvalues;

The jewish date as a string in the form "month/day/year"

&reftitle.changelog;

&Version; | &Description;
5.0.0 | The `fl` parameter was added.
4.3.0 | The `hebrew` parameter was added.

&reftitle.examples;

### `jdtojewish` Example

    <?php
    echo jdtojewish(gregoriantojd(10, 8, 2002), true,
           CAL_JEWISH_ADD_GERESHAYIM + CAL_JEWISH_ADD_ALAFIM + CAL_JEWISH_ADD_ALAFIM_GERESH);
    ?>

&reftitle.seealso;

- `jewishtojd`
- `cal_from_jd`