Duration converter
Convert a duration between nanoseconds, milliseconds, seconds, hours and days, and read ISO 8601 durations.
How it works
ISO 8601 writes durations as P for period, then days, then T and hours, minutes and seconds: PT1H30M is an hour and a half.
Questions
Why do traces use nanoseconds?
OpenTelemetry stores span times in nanoseconds so very fast operations still have a duration.
Are months in ISO durations supported?
Months vary in length, so this tool reads weeks, days, hours, minutes and seconds.