Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP jdtojewish() Function

PHP jdtojewish() Function

PHP Calendar Reference Manual PHP Calendar Reference Manual

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:
  • CAL_JEWISH_ADD_ALAFIM_GERESH
  • CAL_JEWISH_ADD_ALAFIM
  • CAL_JEWISH_ADD_GERESHAYIM
  • |

    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 PHP Calendar Reference Manual