|-||(now - 1972-04-15T06:35+10:00[Australia/Brisbane]) in [Years, Months, Days, Hours, Minutes, Seconds, Millis]|
|(2022-10-01T21:50:48.864686Z - 1972-04-15T06:35+10:00[Australia/Brisbane]) in [Years, Months, Days, Hours, Minutes, Seconds, Millis]|
|1972-04-15T06:35+10:00[Australia/Brisbane] -> 2022-10-01T21:50:48.864686Z in [Years, Months, Days, Hours, Minutes, Seconds, Millis]||=||50 years, 5 months, 17 days, 1 hours, 15 minutes, 48 seconds, 864 millis, 686000 nanos (in zone Australia/Brisbane)|
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.