Using the Jewish calendar : cal_to_jd « Date « PHP






Using the Jewish calendar

 
<?php
$jd = cal_to_jd(CAL_JEWISH, 6, 14, 5761);

$jewish = cal_from_jd($jd, CAL_JEWISH);

$gregorian = cal_from_jd($jd, CAL_GREGORIAN);
?>
  
  








Related examples in the same category

1.Using the Julian calendar
2.Using the French Republican calendar