Using the French Republican calendar : cal_to_jd « Date « PHP






Using the French Republican calendar

 
<?php

$jd = cal_to_jd(CAL_FRENCH, 8, 13, 11);

$french = cal_from_jd($jd, CAL_FRENCH);

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








Related examples in the same category

1.Using the Jewish calendar
2.Using the Julian calendar