How to display the Jewish date in PHP

1 Answer

0 votes
$str = jdtojewish(gregoriantojd( date('m'), date('d'), date('Y')), 
                  true, 
                  CAL_JEWISH_ADD_GERESHAYIM); 
echo iconv ('WINDOWS-1255', 'UTF-8', $str);

/*
run:

י' ניסן התשע"ו
 
*/

 



answered Apr 18, 2016 by avibootz
...