The Julian Day to convert.
An object containing the year, month, day, hour, minute, and second of the Gregorian date and time at UT.
const jd = 2459449.5;
const result = toGregorian(jd);
console.log(result); // Output: { year: 2021, month: 8, day: 23, hour: 0, minute: 0, second: 0 }
Converts a Julian Day (JD) to a Gregorian date and time.