Template:YMDJ2MJD
Appearance
Conversion from year-month-day Julian calendar and proleptic Julian calendar with astronomical year numbering to Modified Julian Day.
See also Template:YMD2MJD.
- Examples:
{{YMDJ2MJD|-4712|01|01}}
= -2400001, this is 12 hours before starting point of JD (the year is 4713 BC){{YMDJ2MJD|0000|03|01}}
= -678883, March 1, ISO year 0 (1 BC){{YMDJ2MJD|0100|03|01}}
= -642358{{YMDJ2MJD|0200|03|01}}
= -605833{{YMDJ2MJD|0300|03|01}}
= -569308{{YMDJ2MJD|1582|10|04}}
= -100841, last date before Gregorian calendar{{YMDJ2MJD|1858|11|5}}
= 0, begin of MJD epoch{{YMDJ2MJD|1900|02|28}}
= 15090, last day of February 1900{{YMDJ2MJD|1900|02|29}}
= 15091, bogey but okay{{YMDJ2MJD|1900|03|01}}
= 15092, no leap year{{YMDJ2MJD|1900|02|30}}
= 15092, bogey but okay{{YMDJ2MJD|1900|03|02}}
= 15093{{YMDJ2MJD|1995|09|14}}
= 49987, USNO test date (49987){{YMDJ2MJD|2000|02|29}}
= 51616, last day of February 2000{{YMDJ2MJD|2000|02|30}}
= 51617, bogey but okay{{YMDJ2MJD|2000|03|01}}
= 51617, leap year{{YMDJ2MJD|2000|02|31}}
= 51618, bogey but okay{{YMDJ2MJD|2000|03|02}}
= 51618{{YMDJ2MJD|2024|12|25}}
= 60682, the current Gregorian date interpreted as Julian date, gives current MJD + 13.