Mega Code Archive

 
Categories / Php / Date Time
 

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); ?>