|-||(1970-01-01T00:00:00Z + (1429079370968 * PT0.001S))|
|(1970-01-01T00:00:00Z + PT396966H29M30.968S)||=||2015-04-15T06:29:30.968Z[UTC]|
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.
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
Next day of week
What is the current time in Lisbon?
What about in PST?
And in offset hours
I was born in Brisbane. I wonder what time that was here in New York.
Interesting. By the way, how long ago was that?
Hmm, better get that in readable units
Ok, that is in average months and days, but how about in actual days?
Ok, how about in Brisbane?
Flight schedule times in same zone
Unix time calculation
Unix time calculation in milliseconds
A bit more complex expression without any good use-case :)