It converts from a supported calendar to Julian Day Count.
Example
<?php
echo cal_to_jd(CAL_GREGORIAN,05,17,1984);
?>
Output
2445838
Example
<?php
echo cal_to_jd(CAL_GREGORIAN,05,17,1984);
?>
Output
2445838