WorkCalc

Search calculators

Search by name, category, or keyword

Date Calculator

Find the time between two dates in days, weeks, months and years, counted inclusively or exclusively, or add and subtract days, weeks, months or years from a date.

Updated Nov 27, 2026Formula and worked examples belowHow we check the math

For finding the time between two dates.

For finding the time between two dates. Inclusive adds 1 day.

For adding or subtracting. Use a negative number to subtract.

How it is calculated

Exclusive counting, the default, measures the gap between two dates: from Monday to Friday is 4 days. Inclusive counting also counts the start and end day themselves, so Monday through Friday is 5 days; use it when both dates are part of the period, like a booking or a leave request. The years, months and days breakdown counts whole calendar months the way an age is counted, so it's always measured exclusively. Adding months or years keeps the same day of the month (March 15 plus 1 month is April 15); if that day doesn't exist, the result is the last day of the month (January 31 plus 1 month is February 28). Dates are compared as calendar days, so daylight saving changes don't affect the count.

Formula

Days between = End date - Start date (exclusive), or that + 1 (inclusive). Years, months and days = whole calendar months between the dates, then the leftover days. Adding months or years lands on the same day of the month, or the month's last day if that day doesn't exist.

Worked examples

Each one is run through this calculator's code before it's published.

  1. Time between Jan 1, 2026 and Aug 10, 2026

    221 days (31 weeks, 4 days); 7 months, 9 days

  2. Monday, Nov 16 through Friday, Nov 20, 2026, inclusive

    5 days (4 if counted exclusively)

  3. 90 days after Aug 10, 2026

    Sunday, Nov 8, 2026

  4. 6 months after Aug 31, 2026

    Sunday, Feb 28, 2027 (February has no 31st)

Questions people ask