Date Utility

Date Difference Calculator

Calculate the difference between two dates in days, weeks, months, and years. Useful for anniversaries, project schedules, contract periods, study plans, and work duration checks.

Date Difference Calculate the total period between two dates.
Multiple Units Check days, weeks, months, and years.
Share and Save Save recent results and copy share links.

Date Difference Calculator

Enter a start date and an end date to calculate the period between them.

Waiting for date input

Calculation Options

Select a start date and an end date, then click Calculate.

Total Days

-

Total Weeks

-

Months

-

Years

-

Recent Calculation History

Review recently calculated date difference results.

No saved calculation history yet.
Practical guide

Count calendar days or weekdays between two dates

Compare a study period, trip or project window using total days, weeks and completed months. The end-date and weekend options change the day count; the month count is calculated separately from the two dates.

Who this helps

  • People planning a date range
  • Teams comparing calendar days with Monday–Friday days

When to use this tool

  • Check how many days a trip spans.
  • Count weekdays in a work schedule before accounting for holidays.

From input to a checked result

  1. 1

    Select the start and end dates.

  2. 2

    Choose whether to include the later endpoint.

  3. 3

    Enable weekend exclusion for Monday–Friday counting.

  4. 4

    Calculate, then check the dates, options and direction beside the result.

Example 1

Ten days between dates

Input
2026-08-06 → 2026-08-16 End date excluded; all days
Result
10 days · 1.4 weeks · 0 completed months

The weeks figure is 10 ÷ 7, rounded to one decimal place.

Example 2

A full calendar week without weekends

Input
2026-08-03 → 2026-08-09 End date included; weekends excluded
Result
5 weekdays

Monday through Friday count. Saturday and Sunday do not; public holidays are not removed.

How it works

Calendar-day mode subtracts the two local-midnight timestamps and rounds to whole days. Including the later endpoint adds one day. Weekday mode walks from the earlier date to the later date and counts Monday–Friday, optionally including the later endpoint. Swapping the dates preserves the count and changes the direction. Completed months count year/month differences, subtracting one if the later day-of-month is smaller; years are months ÷ 12.

Limitations

  • Weekend exclusion does not know your country’s holidays or custom working days.
  • The weeks figure always divides the selected day count by seven, including when counting weekdays.
  • Month and year results ignore the endpoint and weekend options. January 31 to February 28 is zero completed months by this rule.
  • Dates do not include a time of day or a selectable time zone.
Your data

Calculations run in your browser. Up to 10 recent calculations are stored in localStorage. Clear history to remove them. Share links include the two dates and options in the URL; opening a shared link sends that URL to the site, where it may appear in access logs.

Frequently asked questions

Does the same date count as zero or one day?

Without end-date inclusion it is zero. With inclusion it is one, unless weekend exclusion removes that day.

Does excluding weekends calculate official business days?

It counts Monday–Friday only. Public holidays and regional work schedules are not included.

Why can the result show zero days but a later date?

Two different weekend dates can contain no counted weekdays. The direction label compares the actual dates, independently of the day count.