PHP/Date/cal from jd
Converting between Julian days and the Gregorian calendar
<?php
$jd = gregoriantojd(3,9,1876);
$gregorian = cal_from_jd($jd, CAL_GREGORIAN);
?>
<?php
$jd = gregoriantojd(3,9,1876);
$gregorian = cal_from_jd($jd, CAL_GREGORIAN);
?>