D-Day Calculator

Days, weeks, months, and years between two dates — at a glance.

[ AdSense ]

D-Day Notation

NotationMeaningExample
D-DayTarget day itself (D-0)Exam day, wedding, launch day
D-NN days before the target9 days before exam = D-9
D+NN days after the target100 days since starting work = D+100

Originally used in U.S. Army field orders (the 'D' simply means 'Day'); popularized by the 1944 Normandy landings.

Common Use Cases

Use caseStart dateEnd date
Exam / deadline countdownTodayExam date
Anniversary milestoneOriginal dateToday (or future date)
Project lifetimeProject startProject end
Travel days remainingTodayDeparture date
Subscription / contract elapsedStart of termToday

Either order works — the result shows total days regardless of date order, plus a today-vs-target badge.

Why the Same Date Shows a Different D-Day in Different Apps

"Counting the start day" vs not — where the off-by-one comes from
The most common one-day mismatch comes from whether the start date counts as day 1. Some calendars treat the first day as "day 1" (start inclusive); others count only the pure gap between two dates. This tool uses the pure difference — for example, June 1 and June 2 return 1 day. If you want the start day included (like "day we met = day 1"), just add 1 to the result.
Why the result doesn't drift when times are involved
Even though you enter dates only, both dates are internally normalized to midnight (00:00) before the difference is computed. So whether it's morning or late night, the same two dates always return the same day count. The "today vs target" badge (D-N / D-Day / D+N) is also measured from today's midnight to the target, so it never gets cut off into a ±1 wobble.
Why months and years are labeled "avg"
Weeks divide cleanly by 7 ("X weeks Y days"), but months and years don't — month lengths vary and leap years exist. So months use an average of ~30 days and years ~365 days, shown as an approximation. It's for a rough sense ("about 6 months"). If you need the exact "same date N months later," pick that calendar day directly and re-enter the two dates.
Does it handle lunar-calendar anniversaries?
No. This tool counts the difference between two dates on the Gregorian calendar only. A lunar-calendar date falls on a different Gregorian date each year, so entering it directly won't line up. To track a lunar anniversary, first find this year's Gregorian date for it and enter that as the target. Ranges that span a leap day (Feb 29) correctly include that day.

Calculation is Gregorian, JavaScript Date based. Start-inclusive counting and lunar conversion are manual adjustments as described above.

Related Calculators

Frequently Asked Questions

What does D-Day stand for?
D-Day is the day a planned event occurs (D-0). One day before is D-1; one day after is D+1. The 'D' simply stands for 'Day', first used in WWI U.S. Army field orders and made famous by the 1944 Normandy landings. Today it's a generic countdown / elapsed-day notation: 9 days before an exam = D-9, 100 days after a wedding = D+100.
How are weeks, months, and years calculated?
Total days are converted using averages: 30.4375 days/month and 365.25 days/year (accounting for leap years). Not exact calendar differences but useful approximations for everyday use ("about 6 months").
Are leap years handled automatically?
Yes. The day count uses JavaScript's Date object in milliseconds, so leap years and varying month lengths are handled automatically. Expect a +1 day shift roughly every 4 years across long ranges.
How do I track 100-day, 1000-day, or anniversary milestones?
Enter the original event date as the start, and any future date (start + N days, or any anniversary) as the end. The calculator returns the exact day count. For relationship milestones, just put the start date in the start field and the milestone date in the end field.
Can I use today's date automatically?
Yes. The start field is pre-filled with today's date. Change either field to whatever you need. The result also shows a 'today vs target' badge (D-N / D-Day / D+N) regardless of which dates you enter.

Method & References

Last verified: 2026-06-17 / Basis: ISO 8601 (Gregorian calendar)
⚠️ This calculator uses the Gregorian (solar) calendar. Lunar conversion is handled separately. Entering a leap day (Feb 29) may cause small differences in some conversions.