How it works
Calendar days include Saturdays, Sundays and public holidays. The calculation is based on date values rather than your computer’s time zone.
If you need weekdays only, try our business days calculator instead.
Frequently asked questions
Can I enter the dates in either order?
Yes. The calculator returns a non-negative number of days.
What does inclusive counting mean?
It includes both the starting date and the ending date in the result.
Inclusive versus exclusive day counting
The standard difference between two dates counts the calendar days that have elapsed. Select inclusive counting to include both the starting day and the ending day. From 1 March to 3 March the difference is two elapsed days or three inclusive dates.
Calculation uses calendar dates rather than elapsed seconds, avoiding daylight-saving time surprises. To exclude weekends and selected holidays, try the business days calculator.
Days, full weeks and remaining days
The results now show the total number of calendar days and also divide that count into complete seven-day weeks plus remaining days. For instance, a 10-day interval is one full week and three extra days. This is not the same as counting calendar months, which vary in length. The calculator uses calendar dates rather than a local clock, so daylight-saving hour changes do not add or remove calendar days.
Calendar years, months and remaining days
Besides the total elapsed days, the calculator now separates the period into complete calendar years, remaining calendar months and days. Calendar months are counted by anniversaries, clamping dates such as 31 January to the last day of February when necessary. These calendar components describe the ordinary elapsed interval even when the inclusive-days checkbox is selected; inclusive counting affects only the total days and full-week summary. The calculation uses UTC calendar dates, so daylight-saving changes cannot introduce extra calendar days.