Day Counter & Date Calculator
Last updated: 2026-06-25
A D-day is how many days remain to a target date — target minus base — and the target day itself is shown as D-day.
This tool supports D-day countdowns, days between two dates, and adding/subtracting days, all based on UTC midnight so results are identical across time zones.
Calculate a D-day or date difference
D-day
–
Please enter valid dates.
How to use it
- Choose calculation type — D-day, days between two dates, or add/subtract days.
- Enter dates — enter the base and target date (or days to add). The base date defaults to today.
- View result — press Calculate to see the D-day notation, day count, or resulting date.
How date calculations work
"D-day" comes from military usage, meaning the day an event takes place. In everyday life it's used to count down the days to a target — an exam, an anniversary, a deadline or a due date.
D-day notation
D-number: days remaining when the target is in the future (e.g. 30 days before an exam → D-30)
D-day: the target day itself
D+number: days elapsed after the target has passed (e.g. 100 days together → D+99 or "100 days")
Days between two dates: inclusive vs exclusive
| Method | Description | Result |
|---|---|---|
| Start date excluded | End date − start date (plain difference) | 9 days |
| Start date included | Exclusive count + 1 (both endpoints counted) | 10 days |
For ages and durations the exclusive (plain difference) count is usual, while for travel itineraries or hospital stays, where both endpoints count, the inclusive count is used. This calculator shows both.
The basis for accurate date math
- This calculator converts your dates to UTC midnight and compares whole days only.
- So the result is identical regardless of time zone, daylight saving time (DST), or leap years.
- Leap-year February 29 is reflected accurately as a real calendar date.
Frequently asked questions (FAQ)
How is a D-day calculated?
A D-day is the target date minus the base date, shown as remaining days. A future target is D-number, the day itself is D-day, and a past target is D+number. For example, if today is June 25 and the target is July 25, it is D-30.
Is the target day itself D-day or D-1?
This calculator marks the target day itself as D-day, and the day before as D-1, matching the common convention of counting exam day as D-day.
Does the days-between count include the start date?
This calculator shows both: the plain difference (end minus start, start date excluded) and the inclusive count that adds 1 for the start date. For example, June 1 to June 10 is 9 days excluded, 10 days inclusive.
Does the time zone change the result?
No. The calculator converts your dates to UTC midnight and compares whole days only, so the result is identical regardless of your time zone or daylight saving time.
Related calculators
Last updated: 2026-06-25