The jdtojewish() function converts a Julian day count to a Jewish date. It returns a Jewish date in format "month/day/year".
Syntax
jdtojewish(julian_day, hebrew, fl)
Parameters
julian_day − A julian day number
hebrew − When set to TRUE it indicates Hebrew output format. FALSE is default
fl − The Hebrew output format. Possible formats −
CAL_JEWISH_ADD_ALAFIM_GERESH
CAL_JEWISH_ADD_ALAFIM
CAL_JEWISH_ADD_GERESHAYIM
Return
The jdtojewish() function returns a Jewish date in format "month/day/year".
Example
The following is an example −
<?php $res = jdtojewish(1789430); echo $res; ?>
Output
The following is the output −
7/14/3947