Free · No account · Works in your browser
Modified Julian Date
MJD converter for astronomy
Modified Julian Date
Enter values below, then calculate.
Modified Julian Date (MJD) equals Julian Date minus 2400000.5, producing a shorter numeric scale widely used in radio astronomy, satellite tracking, and geodesy since the 1950s. This converter translates between civil Gregorian dates and MJD, and relates MJD to full Julian Day Number when you need the longer form for legacy catalogs.
MJD versus JD and JDN
Julian Date (JD) counts days from a deep historical epoch, often reported with fractional day for time of day. Julian Day Number (JDN) is the integer day index at the noon boundary — see Julian day number. MJD shifts JD by 2400000.5 so modern observations cluster near five-digit magnitudes easier for human typing and early computer storage.
MJD 0 corresponds to November 17, 1858 at midnight in the conventional definition — historical choice, not intuitive anchor; use the converter rather than memorizing.
How to use the converter
Enter civil date to read MJD (and JD if shown), or enter MJD to decode back to Gregorian date. Include time-of-day when the tool exposes time fields — fractional MJD encodes hours and minutes. Round-trip test known almanac rows before trusting pipeline code.
Logistics YYDDD codes differ — use ordinal date for warehouse labels, not MJD.
Where MJD appears
VLBI and pulsar timing papers tabulate MJD for arrival times. GPS ephemeris messages and some TLE formats reference Julian-derived scales — confirm which offset your library applies. Weather balloon radiosonde logs historically stamped MJD alongside UTC.
University observatories scheduling 2026 open nights convert local civil dates to MJD for dome automation scripts expecting that scale.
Fractional days and time
MJD 59999.75 adds eighteen hours to the integer day — essential when correlating two observations hours apart on the same civil night. Midnight versus noon conventions differ between JD literature and civil calendars — document whether your software uses UT or TT.
For sub-second work, migrate to ISO 8601 with timezone via ISO 8601 converter — MJD alone does not carry leap-second policy.
Worked examples
A pulsar timing pipeline receives TOA files keyed by MJD — convert header observation date to MJD here and compare first row — mismatch flags timezone or offset bugs.
Subtract two MJDs to get elapsed days as a float — cross-check integer day spans with days between dates when fractions should be zero.
Conversion to Unix time
Some engineers bridge MJD to Unix seconds for web APIs — use authoritative libraries; manual multiplication by 86400 ignores leap seconds and timezone. The Unix timestamp page handles epoch seconds for IT systems, not observatory MJD tables.
Spacecraft teams may store both MJD and ISO UTC in telemetry archives — keep both columns for traceability during anomaly reviews.
Accuracy and standards
IAU conventions evolved — cite the definition your catalog uses when publishing. BCE dates rarely appear in MJD workflows; proleptic Gregorian assumptions match the JDN page.
Double-precision floats represent MJD safely for modern epochs; very ancient JD values need extended precision libraries.
Common mistakes
Forgetting the 0.5 offset when converting between JD and MJD. Treating MJD as integer when observations need fractional day. Confusing Modified Julian Date with Julian calendar civil dates from Julian calendar pages.
Using local civil midnight instead of UT when comparing to published MJD tables — shifts fractional part by timezone hours.
Radio astronomy workflows
Observatory logbooks recording MJD at start of track simplify correlating multiple dishes — convert local civil date and UTC start time together when the tool accepts time fields. Misaligned UT conversion shifts fringes in VLBI reduction.
Data journals require MJD in table captions — verify one row against this converter before submitting to avoid referee corrections on time standards.
Legacy file migration
Tape archives listing MJD as five-digit integers without decimals may truncate observation times — flag rows where fractional part was lost and cannot be recovered from metadata alone.
Modern HDF5 products should store ISO UTC alongside MJD for human audit — dual columns prevent single-point-of-failure in downstream Python scripts.
Geodesy and GNSS
GNSS post-processing software referencing MJD in RINEX headers needs consistent fractional day when merging baselines — verify header MJD against civil date for each session start.
Survey crews submitting as-built reports with MJD timestamps should include civil date translation in appendices for municipal reviewers unfamiliar with astronomy conventions.
Space situational awareness
Conjunction assessment teams comparing TLE epochs often work in MJD internally — convert operator-facing civil dates to MJD for CAT tool inputs and back for NOTAM text readable to pilots.
CubeSat student teams logging pass predictions should store MJD in telemetry alongside GPS time for mission postmortems.
Transcript metadata
Podcast production logs referencing MJD in research transcripts should convert to civil dates in show notes for listeners — keep MJD in archival JSON for cross-episode search tools.
University radio observatories logging MJD in shift handoffs reduce transcription errors when operators compare civil date whiteboards with MJD terminal displays side by side.
Meteor camera networks syncing fireball timestamps exchange MJD in CSV interchange format — convert to local civil time only in public outreach blog posts.
Graduate students reducing pulsar timing residuals verify MJD column headers match observatory definition before publishing phase-connected timing solutions in peer review.
Observatory open-house volunteers practice converting guest birth dates to MJD for fun wall displays — keep explanations short and point serious researchers to IAU circulars for definitions.
Legacy Fortran printouts listing MJD without timezone notes should be annotated during digitization so future archivists know whether local civil midnight or UT was intended.
Radio telescope operators logging MJD at handoff should read fractional part aloud to the next shift when sub-day timing matters for pulsar fold modes.
Observatory gift shops selling star charts with MJD footnotes should print civil dates beside MJD so casual buyers are not left decoding astronomy notation alone.
Related tools
See Julian day number, Unix timestamp, and the converters hub.
Frequently asked questions
What is Modified Julian Date?
Modified Julian Date (MJD) equals Julian Date minus 2400000.5, producing shorter numbers widely used in radio astronomy catalogs, pulsar timing, GNSS RINEX headers, and legacy Fortran ephemeris printouts since the mid-twentieth century for human typing and storage. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.
How is MJD related to JDN?
Julian Day Number is the integer day index at noon convention. MJD shifts the Julian Date scale by 2400000.5 for human-friendly magnitude — convert with documented offsets in code comments, never guess by trimming digits from JD strings. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.
Does MJD include time of day?
Fractional MJD encodes hours and minutes after the integer day. Specify UT versus local civil time when comparing to published observation tables — timezone mistakes shift fringes in VLBI reduction and pulsar fold pipelines used in graduate labs. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.
Where will I see MJD in the wild?
Pulsar timing papers, meteor camera networks, some GPS archives, and observatory handoff logs reference MJD. Always confirm whether files store integer day only or fractional day including sub-hour observation times before merging pipelines. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.
Can I convert MJD to Unix time here?
This page focuses on civil date interchange with MJD. Unix epoch seconds need dedicated timestamp tools and libraries that respect leap-second policy — bridge carefully in application code with golden tests sourced from this converter. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.
Is MJD the same as ordinal YYDDD?
No. Ordinal YYDDD encodes year plus day-of-year for manufacturing labels on cartons. MJD is an absolute offset from a fixed historical anchor — different fields, different decoders, different validation rules in ERP cutover and recall projects. Always confirm edge cases against primary sources when results affect legal, medical, or financial decisions.