A clear rule for calendar days

Date Difference

Count from one date to another. Choose whether the end date counts too.

Valid calendar dates from 1900 through 2100. The end date must be on or after the start.

Dates stay in your browser tab. This tool does not upload or save them.

What is counted?

The base result is the end date minus the start date. The same date gives 0. Include the end date adds 1 after checking the order, so the same date gives 1. From November 17 to November 19, the base result is 2; including the end gives 3 counted dates.

Examples you can verify

2024-02-28 → 2024-03-01 gives 2 days because 2024 has a February 29. The corresponding 2025 dates give 1 day. 2026-03-07 → 2026-03-09 gives 2 calendar days, including near a daylight-saving transition.

Limits

This is a natural-day calculator, without working days, holidays, time of day, or legal deadline rules. It uses validated UTC calendar components to avoid local daylight-saving offsets. An invalid date is rejected; reversed dates are not silently swapped.

Read how to count days without off-by-one errors or try the small-project planning example.