Using the Julian calendar : cal_to_jd « Date « PHP






Using the Julian calendar

 
<?php

$jd = cal_to_jd(CAL_JULIAN, 2, 29, 1900);

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








Related examples in the same category

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