Menu Samaritan's Purse

JULIANTOJD

Converts a Julian Calendar date to Julian Day Count

SYNTAX

juliantojd ( int $month , int $day , int $year ) : int

PARAMETERS

month

The month as a number from 1 (January) to 12 (December).

day

The day as a number from 1 to 31.

year

The year as a number between -4713 and 9999.

RETURN

The julian day for the given julian date as an integer.

EXAMPLES

1721424

PHP