Days between dates calculator
Date to date: days, weeks, months and years
Pick two dates to see how far apart they are. The example counts from today to 25 December.
–
- Years, months, days
- –
- Weeks and days
- –
- Weekdays (Mon to Fri)
- –
- Weekend days (Sat, Sun)
- –
- Hours
- –
- Whole months
- –
How the count works
The calculator turns both dates into whole calendar days and subtracts one from the other. By default the last day is not counted, which is the usual way to measure a gap: 1 Jan 2026 to 31 Dec 2026 is 364 days, the same as the number of nights in between. Tick Include the end date when the first and the last day both count, such as a hire period, a booking billed per day or days of leave. The same range then gives 365.
Years, months and days
The breakdown steps forward from the start date one whole month at a time, then counts the days left over. A month is complete when the same day number comes round again. If the start is the 29th, 30th or 31st and a later month is too short, that month is complete on its last day, so 31 Jan to 28 Feb 2026 is one month.
Weekdays and weekend days
Every day in the range is sorted into Monday to Friday or Saturday and Sunday. Public holidays are not removed here; the working days calculator lets you leave out dates you choose.
Leap years and clock changes
29 February is counted in leap years (2024, 2028, and century years only when they divide by 400). The maths uses calendar dates, not clock time, so a daylight saving change never adds or loses a day. If the end date is before the start date, the two are swapped and the answer is shown as a positive number.