(((1999-12-31T22:45 + (7 * PT1H)) - (5 * PT1M)) + ((3 * 2.35) * PT0.001S)) = 2000-01-01T05:40:00.007050

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.

#### Examples

A simple time sheet calculation
Minus can be used instead of 'until'
What is the current time?
Converting between time units
Simple math (performed with 9 decimal precision
Shifting dates
Next day of week
What is the current time in Lisbon?