Current Location: Home> Function Categories> jdtogregorian

jdtogregorian

Convert the Gregorian calendar to Julian day count.
Name:jdtogregorian
Category:Uncategorized
Programming Language:php
One-line Description:Convert the Gregorian calendar to Julian day count.

Definition and usage

jdtogregorian() function converts the Julian day count to the date of the Gregorian calendar.

Tip: See gregoriantojd() function to convert the dates of the Gregorian calendar into Julian day counts.

Example

Convert the dates of the Gregorian calendar to Julian day counts, and then convert them back to the dates of the Gregorian calendar:

 <?php
$jd = gregoriantojd ( 9 , 25 , 2016 ) ;
echo $jd . "<br>" ;
echo jdtogregorian ( $jd ) ;
?>

Run the instance

grammar

 jdtogregorian ( jd ) ;
parameter describe
jd Required. Numbers (Julian day count).
Similar Functions
Popular Articles