Convert Julian day counts to Jewish calendar dates:
<?php$jd=jdtojewish(1789430); echo $jd;?>The jdtojewish() function converts Julian day counts to Jewish calendar dates.
Tip: See the jewishtojd() function to convert a Jewish calendar date to a Julian day count.
jdtojewish( jd,hebrew,fl);
| parameter | describe |
|---|---|
| jd | Required. Number (Julian day count). |
| brew | Optional. When set to TRUE, indicates Hebrew output format. The default setting is FALSE. |
| fl | Optional. Define the Hebrew output format. Available formats are: CAL_JEWISH_ADD_ALAFIM_GERESH CAL_JEWISH_ADD_ALAFIM CAL_JEWISH_ADD_GERESHAYIM |
| Return value: | Returns the date in the Jewish calendar as "month/day/year". |
|---|---|
| PHP version: | 4+ |
| Update log: | The hebrew parameter is new in PHP 4.3, and the fl parameter is new in PHP 5.0. |