<?php $jd = cal_to_jd(CAL_JULIAN, 2, 29, 1900); $julian = cal_from_jd($jd, CAL_JULIAN); $gregorian = cal_from_jd($jd, CAL_GREGORIAN); ?>