PHP: jdtojulian() function
Converts a Julian Day Count to a Julian Calendar Date
The jdtojulian() function converts a Julian day count to a Julian Calendar date.
Version:
(PHP 4 and above)
Syntax:
jdtojulian(julian_day_count )
Parameter:
Name | Description | Required / Optional |
Type |
---|---|---|---|
julian_day_count | A Julian day number. | Required | Integer. |
Return value:
The Julian date as a string in "month/day/year" format.
Value Type: String
Example:
<?php
$julian_day_count = jdtojulian(2379950);
echo($julian_day_count);
?>
Sample Output:
12/13/1803
View the example in the browser
See also
Previous: jdtojewish
Next: jdtounix
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics