PHP jdtojulian () function
Examples
The Julian calendar date is converted to Julian day count, date back to the Julian calendar then converted:
<?php
$jd=juliantojd(6,20,2007);
echo $jd . "<br>";
echo jdtojulian($jd);
?>
$jd=juliantojd(6,20,2007);
echo $jd . "<br>";
echo jdtojulian($jd);
?>
Running instance »
Definition and Usage
jdtojulian () function to a Julian day count to a Julian calendar date.
Tip: See juliantojd () function to convert the Julian calendar dates to Julian day count.
grammar
jdtojulian( jd);
参数 | 描述 |
---|---|
jd | 必需。数字(儒略日计数)。 |
technical details
return value: | In "month / day / year" returns the Julian calendar date. |
---|---|
PHP version: | 4+ |
PHP Calendar Reference Manual