Julian Date (JD) Converter
Convert a Gregorian calendar date and time into a precise Julian Date (JD) and Julian Day Number (JDN), essential for astronomical calculations.
Understanding Julian Dates (JD) and Julian Day Numbers (JDN)
The **Julian Date (JD)** system is a continuous count of days and fractions of a day since the beginning of the Julian Period. It is used primarily by astronomers to unify time measurements regardless of calendar shifts or time zones. The epoch (JD 0.0) is defined as **noon UTC on Monday, January 1, 4713 BC** (Proleptic Julian calendar).
Key Definitions:
- **Julian Day Number (JDN):** The integer part of the Julian Date, representing the number of whole days passed since the epoch.
- **Julian Date (JD):** The full number, including the decimal fraction, which represents the time of day. Because the JD starts at **12:00 PM UTC (noon)**, a fractional part of 0.5 corresponds to midnight UTC.
The Conversion Formula (Meeus Algorithm):
The Julian Date is calculated using the following steps, which handle the irregular Gregorian calendar rules:
- Adjust the month (M) and year (Y) if the month is January or February (M becomes M+12, Y becomes Y-1).
- Calculate the number of days passed since the epoch, including specific adjustments for the Gregorian calendar's centennial leap year rules.
- Add the fractional time component, where the time $(H, M, S)$ is converted to a decimal fraction of a day: $$ \text{Fractional Day} = \frac{\text{H} - 12}{24} + \frac{\text{M}}{1440} + \frac{\text{S}}{86400} $$