Calculator: Union of daily time intervals

Enter the labelled inputs to calculate: Duration (min); Duration (h); Number of merged intervals; Merged intervals.

Duration (min)
240
Duration (h)
4
Number of merged intervals
2
Merged intervals
09:00–12:00; 14:00–15:00

How the calculation works

T=|∪[aᵢ,bᵢ]|; 0≤aᵢ≤bᵢ<24h

Dates use the proleptic Gregorian calendar at UTC midnight, without local daylight-saving effects. Date overlaps include both endpoints. ISO weeks start on Monday and week 1 contains January 4. Sidereal time is an approximate mean UT1 model near J2000, without nutation corrections.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

T=|∪[aᵢ,bᵢ]|; 0≤aᵢ≤bᵢ<24h

What assumptions apply?

Dates use the proleptic Gregorian calendar at UTC midnight, without local daylight-saving effects. Date overlaps include both endpoints. ISO weeks start on Monday and week 1 contains January 4. Sidereal time is an approximate mean UT1 model near J2000, without nutation corrections.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →