ToolBrivo

Press slash to focus search.

Calculators

Date difference calculator

Count days, weeks, and the calendar span between two dates.

The signed difference is the end date minus the start date, in days. A negative number means the end date is earlier. Weeks use the absolute number of days, or that number plus one when both dates are included. The same date is 0 elapsed days and 1 inclusive day. Years, months, and days are the calendar span from the earlier date to the later date. Adding a month keeps the day number, or the last valid day of the month when that day does not exist. Adding years to 29 February lands on 1 March when the target year is not a leap year.

Elapsed days are the end date minus the start date. A negative number means the end date is earlier. Including both dates adds one, so the same date counts as 1.

Enter both dates to see the span.

How to use it

  1. Enter a start date and an end date. Either date may be earlier.
  2. Choose days between the dates, or a count that includes both dates.
  3. Read the signed day count, the weeks, and the calendar span.

Examples

Across a leap day

1 January 2024 to 1 March 2024 is 60 elapsed days, or 61 days if both dates are included. The calendar span is 2 months and 0 days. 2024 has a 29 February, so the day count is one higher than the same span in 2023.

Limits

  • Only real dates from year 0001 through 9999 are accepted. 31 February and 31 April are rejected.
  • Inclusive counting adds one day to the absolute difference. It does not change the calendar span.
  • A reversed pair keeps a negative signed count. The years, months, and days still run from the earlier date to the later date.
  • The month rule clamps a missing day, so 31 January to 28 February in a common year is 1 month and 0 days.

Privacy

The two dates stay in this browser. They are not sent to a server and they are not written to local storage.

Questions