Convert a Julian Day Count into a date of in the Gregorian calendar in PHP
Description
The following code shows how to convert a Julian Day Count into a date of in the Gregorian calendar.
Example
// ww w .j a v a 2s .c o m
<?php
$d=unixtojd(mktime(0,0,0,6,20,2014));
print_r(cal_from_jd($d,CAL_GREGORIAN));
?>
The code above generates the following result.