Easy Tutorial
❮ Func Mysqli Get Client Info Php Ref Filter ❯

PHP cal_from_jd() Function

PHP Calendar Reference Manual

Example

Convert a Julian Day Count to a Gregorian calendar date:


Definition and Usage

The cal_from_jd() function converts a Julian Day Count to a date in the specified calendar.

Syntax

Parameter Description
jd Required. A number (Julian Day Count).
calendar Required. Specifies the calendar to use. Can be one of these constants: CAL_GREGORIAN<br> CAL_JULIAN<br> CAL_JEWISH<br> CAL_FRENCH

Technical Details

Return Value: Returns an array containing calendar information: Date in the format "month/day/year"<br> Month<br> Year<br> Day of the week<br> Abbreviations and full names of days and months
PHP Version: 4.1+
--- ---

❮ Func Mysqli Get Client Info Php Ref Filter ❯