Convert a Gregorian calendar date/time to a Julian Day or vice versa.
Last updated 10 months ago
All input dates are assumed to be in the Gregorian calendar. Even if you provide a date earlier than the first adoption of the Gregorian calendar, it is taken as is and is not assumed to be a Julian calendar date.
/julian-day/{date}
The desired date/time in the Gregorian calendar.
2024-10-15T22:00:00.000Z
curl -L \ --url 'https://api.radiantdrift.com/julian-day/{date}'
{ "query": { "name": "julian-day", "date": "2024-10-15T22:00:00.000Z", "cost": 1 }, "response": { "julianDay": 2460599.41666667 } }
/date/{julian-day}
Julian day value.
2460000
curl -L \ --url 'https://api.radiantdrift.com/date/{julian-day}'
{ "query": { "name": "date", "julianDay": 2460000, "cost": 1 }, "response": { "date": "2023-02-24T12:00:00.000Z" } }