PHP jdtogregorian() Function
Example
Convert a Gregorian calendar date to a Julian day count and then back to a Gregorian date:
"; echo jdtogregorian($jd); ?>Run Example »
Definition and Usage
The jdtogregorian() function converts a Julian day count to a Gregorian calendar date.
**Tip:** See the gregoriantojd() function, which converts a Gregorian calendar date to a Julian day count.
Syntax
jdtogregorian(
jd);
| Parameters | Description |
|---|---|
| jd | Required. A number (the Julian day count). |
Technical Details
| Return Value: | Returns the Gregorian calendar date in "month/day/year" form. |
|---|---|
| PHP Version: | 4+ |
PHP Calendar Reference Manual