Days between dates

Count how many days are between two dates free online, with weeks and days shown too. Optionally include both dates or count business days only. Years 0001–9999.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

About this tool

This page opens in date difference mode with today as the start. Pick date A and date B to get the number of days and the weeks-and-days breakdown. By default the earlier date counts and the later one does not (Jan 1 to Jan 2 is 1 day); tick “Include both endpoints” to count both. If B is before A the result is negative.

A date calculator: find the days, weeks, months and years between two dates, or add and subtract days, weeks, months and years from a date. You can also count Monday–Friday business days only.

How to use

  1. Choose date difference or addition/subtraction, then enter dates and an amount.

  2. Optionally count Monday–Friday only or include both endpoints, then calculate and copy.

Example

2024-01-31 plus one month gives 2024-02-29. Select both endpoints to count the start and end date inclusively.

Good to know

Years 0001–9999. Differences include the earlier date and exclude the later by default; B before A gives a negative result. Month/year arithmetic clamps missing days to the end of the month. Weekdays exclude weekends only, without holidays or regional adjustments.

Calculates calendar dates rather than exact elapsed seconds in a timezone. Weekday mode excludes weekends only; check applicable rules separately for statutory deadlines.

Frequently asked questions

Should today count when I count days until a date?

By default no: today to tomorrow is 1 day. If a rule says “inclusive”, tick Include both endpoints and the result grows by one.

Can it show months and days?

This page gives days and weeks. Months vary in length, so use the weeks-to-months page or the calendar rule you need for month counts.

Are leap years handled?

Yes. Dates are counted on the Gregorian calendar, so 29 February is included automatically.

Are start and end dates included?

By default the earlier date is included and the later excluded; you can choose to include both.