Type a duration in whatever form you have it and get every other form back. Accepted inputs:
- a plain number, read in the unit you select (for example
5400seconds) - human-readable text:
1d 2h 30m,1.5h,2 hours, 15 minutes and 30 seconds - clock format:
01:30:00or1:30 - ISO 8601 durations:
PT1H30M,P1DT2H,P2W
Output includes a short form (1d 2h 30m), a long form, total hours as hh:mm:ss, an ISO 8601 duration, and the exact value in every unit from milliseconds to weeks. That makes it handy for timeouts, cache TTLs, cron intervals and the PT... values in Java, .NET and many APIs.
Years and months have no fixed length, so they are treated as 365 and 30 days. The ISO output therefore only uses days, hours, minutes and seconds. Conversion runs in your browser.