PHP juliantojd() Function

The Juliantojd() function converts a Julian calendar date to a Julian day count. The range cover between 4713 B.C. to 9999 A.D.The juliantojd() function converts a date from the Julian Calendar to a Julian Day Count.Although this function can handle dates all the way back to 4713 B.C., such use may not be meaningful. The calendar was created in 46 B.C., but the details did not stabilize until at least 8 A.D., and perhaps as late at the 4th century. Also, the beginning of a year varied from one culture to another - not all accepted January as the first month.

Example -

ParameterDescription
monthRequired-Specified month (1 (for January) to 12 (for December) ) from the Julian calendar.
dayRequired-Specified day ( from 1 to 31 ) from the Julian calendar.
yearRequired-Specified year (a number between -4713 and 9999 ) from the Julian calendar.