D-Day Calculator
Track days until or since an event and save events locally in your browser.
Runs in your browser · No sign-up required
Calculator inputs are loading. If they do not appear, reload the page and check that JavaScript is enabled in your browser.
How this calculator works
Compare an event date with a reference date to see days remaining or days passed. The reference date itself is not counted: the same date is D-Day. Yearly repeat selects the current or next occurrence, and events can be saved in this browser.
Example
From reference date 2026-10-02 to event date 2026-10-05, 3 days remain. Matching event and reference dates gives D-Day, or 0 days.
How do I read days left, days passed and yearly repetition?
A target ten days ahead shows D−10; a target ten days ago shows D+10. Same-day is D-Day. The calculation uses target minus reference, so the numerical difference has the opposite sign to the countdown label. Yearly repetition chooses this or next year’s occurrence and clamps February 29 to February 28 in non-leap years.
This table scrolls horizontally on small screens.
| Reference → entered target / repetition | Adjusted target − reference (days) | Countdown / yearly target date |
|---|---|---|
| 2026-10-11 → 2026-10-21 | 10 | D−10 |
| 2026-10-11 → 2026-10-01 | −10 | D+10 |
| 2026-10-11 → 2026-10-11 | 0 | D-Day |
| 2026-02-01 → 2024-02-29 · yearly repetition | 27 | 2026-02-28 |
A mistake to avoid
Review the reference date and repetition choice. Saving is optional and stores name, target date and repeat choice only in this browser; clearing site data or changing devices can lose the list.
Sources and limits
Calculation methodology · 2026-10-12
Frequently asked questions
What does yearly repeat do?
It uses the event’s month and day in the reference year, or next year if that date has passed. February 29 becomes February 28 in a non-leap year.
Will saved events appear on another device?
No. Events use this browser’s local storage, without account sync. Clearing site data removes them; unavailable storage prevents saving.