Skip to content

Date range overlap

The days two date ranges share, or the days between them, with both ends of each range counted.

First range
Second range

“Today” is today’s date in this browser’s time zone, or UTC when it is not one of the list. Dates have no time of day, so no time zone is involved in the count.Today’s zone: –

The ranges overlap on 5 days. Both ends of each range are counted.

FormatResultCopy
Days in both rangesFriday 20 November 2026 to Tuesday 24 November 2026; 5 days2026-11-20 to 2026-11-24
First range2026-11-17 to 2026-11-248 days
Second range2026-11-20 to 2026-11-3011 days
Days between the ranges0 days
Both ranges together14 days from the first day of either range to the last2026-11-17 to 2026-11-30
  • Both ends of a range are counted: 1 March to 3 March is 3 days. Ranges that only touch, one ending the day before the other starts, do not overlap.
  • A date with no time of day: it is counted on the calendar itself, so no time zone or clock change is involved.

How ranges are compared

A range holds both of its ends: 1 March to 3 March is three days. Two ranges overlap when they share at least one day, and the page lists the shared days. A booking that ends on the 10th and one that starts on the 10th overlap on that day.

Ranges that only touch, one ending the day before the other starts, do not overlap, and the page says so. When the ranges are apart it gives the days between them.

A worked example

A holiday from 2026-08-03 to 2026-08-14 (12 days) and a conference from 2026-08-12 to 2026-08-15 (4 days). The ranges overlap on 3 days: Wednesday 12 August 2026 to Friday 14 August 2026; 3 days. Together they run from 2026-08-03 to 2026-08-15, 13 days from the first day of either range to the last.

Ranges typed backwards

A range with its last day before its first is read from its earlier date, and the page says it did so.

Dates have no time of day, so no time zone is involved; “Today” fills in today's date in your browser's time zone. "Copy link" makes a link that opens this calculation; nothing is stored on a server.