PHP JDToGregorian() function
Complete PHP Calendar Reference
Definition and Usage
The JDToGregorian() function converts a Julian day count to a Gregorian date.
Syntax
Parameter |
Description |
jd |
Required. A number (a Julian day count) |
Tips and Notes
Note: This function returns a string in the format "month/day/year".
Example
<?php
$jd = gregoriantojd(10,3,1975);
echo($jd . "<br />");
$gregorian = jdtogregorian($jd);
echo($gregorian);
?>
|
The output of the code above will be:
Complete PHP Calendar Reference
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|