Converts a Julian Calendar date to Julian Day Count
juliantojd(int $month, int $day, int $year): int
The month as a number from 1 (January) to 12 (December).
The day as a number from 1 to 31.
The year as a number between -4713 and 9999.
The julian day for the given julian date as an integer.
<? $month = 1; $day = 1; $year = 1; $return = juliantojd($month, $day, $year); echo $return; ?>