The JDToJulian() function converts a Julian day count to a Julian date. It returns the julian date as a string in the form "month/day/year".
Syntax
jdtojulian(julian_day);
Parameters
julian_day − A julian day number. Required.
Return
The jdtojulian() function returns the julian date as a string in the form "month/day/year"
Example
The following is an example −
<?php $res = juliantojd(9,9,2018); echo $res . "<br>"; echo jdtojulian($res); ?>
Output
2458384 9/9/2018