Analytics, Devices & Uptime

Time Interval Splitter Inputs

Results

Result —
Secondary —
Details —

How Time Interval Splitter Works?

The Time Interval Splitter works by cutting an interval at each selected boundary, such as midnight, the hour mark, or a shift change, and measuring each piece.

  1. 1. Enter the interval

    Write the interval, such as 21:30–02:15.

  2. 2. Pick the boundaries

    Choose cut points, such as 00:00 (midnight).

  3. 3. Cut and measure

    21:30–00:00 = 2h 30m and 00:00–02:15 = 2h 15m.

  4. 4. Verify the total

    Enter 21:30 and 02:15 in the widget: Net Duration shows 4h 45m, which equals the sum of the pieces.

Time Interval Splitter Formula

The Time Interval Splitter formula is pieceᵢ = min(end, boundaryᵢ₊₁) − max(start, boundaryᵢ) for each boundary window the interval touches.

  • Boundaries b₀ < b₁ < … inside [start, end]
  • Pieces = [start, b₁], [b₁, b₂], …, [bₙ, end]
  • Σ pieces = end − start

Example: 21:30–02:15 split at midnight gives 2h 30m on day 1 and 2h 15m on day 2, totaling 4h 45m.

Time Interval Splitter Conversion Table

The Time Interval Splitter conversion table shows intervals split at midnight and at the top of each hour.

IntervalBoundaryPiecesTotal
21:30–02:15Midnight2:30 + 2:154:45
23:00–07:00Midnight1:00 + 7:008:00
09:40–12:10Each hour0:20 + 1:00 + 1:00 + 0:102:30
14:15–14:45Each hour0:300:30
05:00–15:00Shift change 07:002:00 + 8:0010:00

What is Time Interval Splitter?

A Time Interval Splitter is a tool that divides a time interval into smaller pieces at chosen boundaries.

Splitting assigns time to the right bucket. A night shift from 21:30 to 02:15 belongs partly to Monday and partly to Tuesday, and hourly reports need each hour’s share.

The sum of the pieces always equals the original interval. Splitting changes the grouping, never the total.

What are the uses of Time Interval Splitter?

There are 5 main uses of the Time Interval Splitter, including date assignment, hourly reports, and pay-rate boundaries.

Date assignment

Payroll assigns overnight hours to each calendar day.

Hourly reports

Analysts split sessions into hourly buckets.

Pay-rate boundaries

Payroll splits shifts where night premiums start.

Energy pricing

Engineers split machine runs at tariff boundaries.

Parking rates

Operators split stays at day and night rate changes.