Time Duration Formatter
Guía
Time Duration Formatter
Convert any duration — entered in seconds, milliseconds, or clock format — into multiple human-readable representations simultaneously. See verbose, short, ISO 8601, clock, and approximate formats side by side, with a full breakdown by time unit.
Cómo utilizar
Select your input mode (Seconds, Milliseconds, or Clock hh:mm:ss), enter your duration value, and click Formato. The tool instantly displays the duration in all supported formats — from verbose natural language to ISO 8601 standard notation.
Características
- Multiple Input Modes – Enter duration as total seconds, milliseconds, or clock format (hh:mm:ss or hh:mm:ss.mmm)
- Verbose Format – “2 days, 3 hours, 4 minutes, 5 seconds” with zero units omitted
- Short Format – Compact “2d 3h 4m 5s” notation for display or code
- ISO 8601 Duration – Standard “P2DT3H4M5S” format used in APIs and data interchange
- Clock Format – “51:04:05” with total hours (not reset to days)
- Approximate – Natural language approximation: “about 2 days” or “less than a minute”
- Year Support – Correctly handles very long durations with year decomposition
- Negative Durations – Supports negative values for countdown or elapsed-time calculations
Preguntas frecuentes
-
What is ISO 8601 duration format?
ISO 8601 is an international standard for representing dates and times. The duration format uses the pattern P[n]Y[n]M[n]DT[n]H[n]M[n]S, where P is the duration designator, T separates date and time components, and each number is followed by its unit letter (Y=years, M=months, D=days, H=hours, M=minutes, S=seconds). For example, P2DT3H4M5S means 2 days, 3 hours, 4 minutes, and 5 seconds. This format is used in APIs, calendar applications, and data interchange formats like XML and JSON Schema.
-
Why does the clock format show more than 24 hours?
The clock format (e.g., 51:04:05) displays the total number of hours rather than resetting to days. This is intentional and useful for contexts like video duration, elapsed time counters, or any situation where you want a single continuous clock-style reading. A duration of 2 days, 3 hours, 4 minutes, and 5 seconds has a total of 51 hours (2×24 + 3), shown as 51:04:05. If you need day-separated display, use the verbose or short format instead.
-
What's the fastest way to convert seconds to hours and minutes?
The standard formula is: hours = Math.floor(seconds / 3600), then minutes = Math.floor((seconds % 3600) / 60), then remaining_seconds = seconds % 60. For days, add days = Math.floor(seconds / 86400) before calculating hours using the remainder. This tool does all these calculations automatically and displays the decomposition across all standard time units simultaneously, so you never need to do the arithmetic manually.
Instalar extensiones
Agregue herramientas IO a su navegador favorito para obtener acceso instantáneo y búsquedas más rápidas
恵 ¡El marcador ha llegado!
Marcador es una forma divertida de llevar un registro de tus juegos, todos los datos se almacenan en tu navegador. ¡Próximamente habrá más funciones!
Herramientas clave
Ver todo Los recién llegados
Ver todoActualizar: Nuestro última herramienta was added on Abr 1, 2026
