PHP cal_to_jd() Function
The cal_to_jd() function converts from a supported
calendar to Julian Day Count.
Syntax
cal_to_jd(int $calendar, int $month, int $day, int $year): int
Try It Online
Output
Click Run to execute your code
Related Functions
- cal_from_jd() - Converts from Julian Day Count to a supported calendar
Enjoying these tutorials?