Math
Date Difference Calculator
Calculator
Results
About
Date Difference Calculator
This calculator counts how many days, weeks, months and years there are between two dates: in days, in weeks and days, in calendar years, months and days, and in weekdays. The count runs from the start date up to, but not including, the end date, the way you would count nights in a hotel. For example, 1 January to 31 December 2026 is 364 days. If you want to count both the first and the last day, for example for the length of a holiday, add one.
Years, months and days follow the calendar: from 15 May 2020 to 13 October 2026 is 6 years, 4 months and 28 days, because 15 September 2026 is exactly 6 years and 4 months later, and 13 October is 28 days after that. When the start date is near the end of a month and a later month is shorter, the last day of that month counts as a whole month later, so 31 January to 28 February is 1 month. Leap years are handled, so February 2024 has 29 days and February 2025 has 28.
The weekday count includes Monday to Friday and leaves out Saturdays and Sundays, but it does not know about public holidays, which differ by country and region; subtract any that fall in the period yourself. Dates are compared as whole calendar days, so changes to and from daylight saving time never add or remove a day. If the end date is before the start date, the calculator counts backwards and tells you so. To work out how old someone is, with the weekday they were born and the days until their next birthday, use the age calculator.