Everyday Planning

Compare two schedule options

Find the useful time shared by two schedules without double-counting touching dates.

Try the experiment

What you’ll learn Compare lengths and calculate the shared portion with a clearly defined end boundary.

Overlap bars

Slide the second interval

Option A covers four elapsed calendar days from January 6. Pick option B’s start and length, or move the common interval into Date Difference.

Experiment controls

2 days of overlap

  • 6 JanA only
  • 7 JanA only
  • 8 JanA & B
  • 9 JanA & B
  • 10 JanB only

Shared time begins January 8, 2025 and ends at the start of January 10, 2025.

Apply the result

One range ends at the exact boundary where the next starts. How many whole elapsed days do they share?

Find shared coverage for two shifts

Inputs
A covers January 6 through January 9, ending at the start of January 10. B begins January 8 for three days.
Reasoning
The later start is January 8 and the earlier end January 10, so the shared labels start two one-day intervals.
What the result means
Two days of coverage are shared, January 8 and 9. January 10 is outside A’s availability.

Put both options on one ruler

Use a start and an exclusive end for each option. The common window starts at the later start and stops at the earlier end. If that end is at or before the common start, no shared time remains.

Touching boundaries are not an interval

If someone leaves at the exact opening instant of another reservation, they share no elapsed slot. Writing a common date label alone can suggest a false match when one person’s end is that date’s start. Inclusive attendance claims need a separate rule.

Use a finer ruler when the task needs it

Whole dates work for day-long availability. To schedule at a specific local hour, convert both start and finish to comparable instants and repeat the same interval logic. Always check that the resulting shared block is long enough for the planned activity.

Sources and scope

The sandbox uses half-open civil date ranges. It omits working-hour, travel and time-zone constraints.

Share preview

Share your result

Text version