Convert a Julian Day Count into a date of in the Gregorian calendar:
The cal_from_jd() function converts a Julian Day Count into a date of a specified calendar.
Parameter | Description |
---|---|
jd | Required. Specifies a Julian Day as an integer |
calendar | Required. Specifies the calendar to convert to. Must be one of the
following values:
|
Return Value: | Returns an array that contains calendar information like:
|
---|---|
PHP Version: | 4.1+ |