|-||((5 * P1D) + (3 * PT1S)) in [Hours]|
|(P5D + (3 * PT1S)) in [Hours]|
|(P5D + PT3S) in [Hours]|
|[P5D and PT3S] in [Hours]||=||120.000833333 hours (using average duration for days)|
Duratio is a calculator for time expressions. Intended use cases are:
- Finding out current times in other places
- Correlating times in different zones with each other
- Calculating time spans and durations for scheduling, time-sheets and similar
The output is usually in ISO 8601 format. The parsing tries to be slightly cleverer, but basically sticks to ISO 8601 text formats. No major effort has been put into trying to understand all variants of date formats, but major pain points have hopefully been addressed (such as accepting AM/PM time designations).
The following section contains a set of examples which I hope explains the syntax well enough.