Counting the days
By default the calculator counts the days from the start date up to the end date, which is the number of nights in between or the number of days you would add to the start date to reach the end date. From January 1 to December 25, 2026 that is 358 days, or 51 weeks and 1 day.
Turn on the include-end-date option when both dates count, such as for a hotel stay counted in days, an event that runs from one date through another, or a sentence of days served. Including the end date adds one, so January 1 through December 25 is 359 days.
Years, months and days
The calendar difference counts whole years first, then whole months, then the days that remain. From January 1 to December 25, 2026 it is 0 years, 11 months and 24 days. This is how ages and anniversaries are usually stated, and it always uses the dates as given, without the include-end-date option.
When the start date falls on a day the end month does not have, such as the 31st, the month is counted at that month's last day. One month after January 31 is February 28, or February 29 in a leap year.
Leap years and month lengths
The calculator uses the Gregorian calendar, so February has 29 days in leap years: years divisible by 4, except century years that are not divisible by 400. A range that crosses February 29, 2028 is one day longer than the same range in a common year.
Dates are whole calendar days with no time of day or time zone, so daylight-saving changes never add or remove a day. If you need the time between two moments, such as 9:00 to 17:30, count hours separately.
Business days and deadlines
This calculator counts every calendar day, including weekends and holidays. Contract, court and shipping deadlines often count business days instead and may exclude public holidays, so check which rule applies before relying on a count for a deadline.
The end date has to be on or after the start date. If it is earlier, the calculator explains the problem and clears the results; swap the dates to count backward.