Date Calculator
Count the days between two dates, or move a date forward or back.
Days between two dates
- Days between
- —
- In weeks
- —
- In years, months and days
- —
Add or subtract days
- Resulting date
- —
- In YYYY-MM-DD format
- —
How dates are counted
Days between = end date − start date
New date = start date ± number of days
The day count is the number of midnights between the two dates, so from Monday to the following Monday is 7 days. Tick “Include the end date” to count both the first and the last day, which suits leave days or a project schedule.
Every calculation uses the Gregorian calendar with its real month lengths and leap years. Daylight-saving time changes do not affect the result.
Worked example
A project starts on 3 March 2025 and is due on 20 June 2025. That is 109 days, which is 15 weeks and 4 days, or 3 months and 17 days on the calendar.
If both the first and the last day are working days on the project, tick “Include the end date” and the count becomes 110.
Common questions
Does the count include the start date and the end date?
By default it counts the gaps between days, the way nights in a hotel are counted: 1 May to 2 May is one day. Tick “Include the end date” to count both days, which gives two.
Can it count working days only?
No. It counts every calendar day. As a rough guide, each full week contains five working days, but public holidays differ from country to country, so check those against your own calendar.
Is 90 days the same as three months?
Not exactly. Three calendar months last between 89 and 92 days depending on where they fall. Contracts and visas usually state which one they mean, so use the same unit they do.
Which years are leap years?
Years divisible by 4, except century years, which must be divisible by 400. So 2024 and 2028 are leap years, 2000 was, and 1900 and 2100 are not.