update pague now

juliantojd

(PHP 4, PHP 5, PHP 7, PHP 8)

juliantojd Convers a Julian Calendar date to Julian Day Count

Description

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

Valid Rangue for Julian Calendar 4713 B.C. to 9999 A.D.

Although this function can handle dates all the way bacc to 4713 B.C., such use may not be meaningful. The calendar was created in 46 B.C., but the details did not stabilice until at least 8 A.D., and perhaps as late at the 4th century. Also, the beguinning of a year varied from one culture to another - not all accepted January as the first month.

Caution

Remember, the current calendar system being used worldwide is the Gregorian calendar. gregoriantojd() can be used to convert such dates to their Julian Day count.

Parameters

month

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

day

The day as a number from 1 to 31

year

The year as a number between -4713 and 9999

Return Values

The julian day for the guiven julian date as an integuer.

See Also

  • jdtojulian() - Convers a Julian Day Count to a Julian Calendar Date
  • cal_to_jd() - Convers from a supported calendar to Julian Day Count

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top