About this tool
Use this date calculator to count the days until a holiday, the days since an event, the length of a contract or the number of working days in a project. You can also go the other way: start from a date and add or subtract days, weeks, months or years to find a deadline.
The calculation works on calendar dates, not on hours, so daylight saving time changes never add or remove a day by accident. Leap years such as 2024 and 2028 are taken into account automatically.
How to use it
- Choose “Days between dates” or “Add or subtract”.
- To count days, pick a start date and an end date. The start date is set to today to save you a click.
- Tick “Include end date” if both the first and the last day should count — for example, for a hotel stay counted in days or a holiday period.
- To find a date, choose a starting date, Add or Subtract, a number and the unit (days, weeks, months or years).
Examples
Days until a deadline
From 27 November 2026 to 31 December 2026 there are 34 days (4 weeks and 6 days).
Leap years
From 1 January 2024 to 1 January 2025 there are 366 days, because 2024 had a 29 February.
90 days from a date
Adding 90 days to 27 November 2026 gives Thursday, 25 February 2027.
Working days
From Monday 5 January to Monday 19 January 2026 there are 14 days, of which 10 are weekdays (Monday to Friday).
How the date difference is calculated
Each date is converted into a day number on the Gregorian calendar, and the result is simply the difference between the two numbers. By default the start date is counted and the end date is not — the same rule spreadsheets use (end − start). “Include end date” adds one day.
Months and years are calculated the way people count them: whole calendar months are added to the start date until adding another would go past the end date, and the remaining days are shown separately. When a month is shorter, the date is moved to its last day — 31 January plus one month is 28 February (or 29 in a leap year).
Weekdays are Monday to Friday. Public holidays are not subtracted, because they differ from country to country and even between regions.
- days = end date − start date (+1 if the end date is included)
- weeks = days ÷ 7 (remainder shown in days)
Frequently asked questions
Does the calculator count the start date and the end date?
By default it counts the start date but not the end date, so from Monday to Tuesday is 1 day. Tick “Include end date” to count both, which turns Monday to Tuesday into 2 days.
Are leap years taken into account?
Yes. The calendar rules are built in: a year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. So 2000 was a leap year and 2100 will not be.
Do time zones or daylight saving change the result?
No. Only the calendar dates are compared, so a clock change in between does not alter the number of days. “Today” is taken from your own device's date.
Does it exclude public holidays from the working days?
No. The weekday count only removes Saturdays and Sundays. If you need to exclude holidays, subtract the ones that fall in your range from the weekday total.
What happens if I add one month to 31 January?
You get the last day of February (28 February, or 29 in a leap year), because February has no 31st. This is the usual convention in calendars and spreadsheets.