Date Calculator

Calculate the number of days remaining until a target date or the days elapsed since a past date. Track birthdays, exams, events, and milestones with precision.

Select the target date to calculate D-Day

Include Start Day

How to Use

  1. Select a target date

    Choose the date you want to count down to or count up from.

  2. Run the calculation

    Click Calculate to see the number of days between today and the target date.

  3. Review the results

    View the result in days, along with conversions to weeks and months.

What is a D-Day?

A D-Day was originally a military term for the day an operation begins, dating back to the 1944 Normandy landings. Today it has become an everyday word for a countdown to the number of days remaining until a target date.

The convention sets the reference date (usually today) to zero. If the target date is still ahead, it is written as D-N (e.g. D-30 means 30 days left); if it is today, D-Day; and if it has already passed, D+N (e.g. D+10 means 10 days elapsed).

It is widely used whenever you want to see at a glance the time flowing from a reference date — days left until an exam or certification test, anniversaries such as weddings and trips, or milestones like a discharge date or a 100-day relationship mark. Beyond simple motivation, it is highly practical for managing study schedules and tracking project deadlines.

Calculation Formula

A D-Day is found by converting the difference between two dates into days.

Days remaining = (target date − reference date) ÷ 86,400,000 ms

For example, if the reference date is 2026-06-03 and the target date is 2026-11-19, the difference is 169 days, so it is D-169. Conversions to weeks and months are calculated as weeks = ⌊169 ÷ 7⌋ = 24 weeks 1 day and months ≈ 169 ÷ 30.44 ≈ 5.6 months (averaging 30.44 days per month).

Turning on the Include Start Day option counts the reference date as one day, adding 1 day to the result (used for things like military service day counts).

Frequently Asked Questions

What does D-Day mean?
D-Day was originally a military term for the day an operation begins. In everyday use it refers to a countdown of the days remaining until a target date. 'D-100' means 100 days are left until the target, while 'D+10' means 10 days have passed since the target.
How is a D-Day calculated?
A D-Day is calculated by subtracting the reference date (usually today) from the target date. A positive result means the future (D-N), zero means the day itself (D-Day), and a negative result means the past (D+N). Selecting the Include Start Day option also counts the start day as one day.
What difference does including the start day make?
Without including the start day, only the pure date difference is counted. For example, January 1 to January 3 is 2 days. Including the start day counts January 1 as a day too, making it 3 days. Military service day counts often include the start day.
How do I calculate the days left in military service?
Set your discharge date as the target date to instantly see the days remaining. Because military service counts usually include the enlistment day (start day), enabling the 'Include Start Day' option is more accurate.
How do I calculate a D-Day for an exam?
Enter the exam date as the target date and the days remaining are calculated automatically. On the day itself it shows 'D-Day', and afterwards the elapsed days appear in the 'D+N' format.
Are weekends and holidays excluded from the remaining days?
This calculator is based on absolute days, counting every day on the calendar. Weekends and holidays are all included. To count only actual working days (business days), a separate business-day calculation excluding weekends and holidays is needed.
Why does it become 'D+1' the day right after 'D-Day'?
When the reference date equals the target date, the difference is 0, so it shows 'D-Day'. Once a day passes and goes one day beyond the target, it becomes 'D+1'. In other words, the day immediately after D-Day is D+1, and the notation 'D+0' is not used.
2026 calendar data

Related Calculators