Convert a Julian calendar date to a Julian calendar date and back to a Julian calendar date:
<?php$jd=juliantojd(6,20,2007);echo $jd . "<br>";echo jdtojulian($jd);?>The jdtojulian() function converts a Julian day count to a date in the Julian calendar.
Tip: See the juliantojd() function to convert a Julian calendar date to a Julian day count.
jdtojulian( jd);
parameter | describe |
---|---|
jd | Required. Number (Julian day count). |
Return value: | Returns the date in the Julian calendar as "month/day/year". |
---|---|
PHP version: | 4+ |