Free · No sign-up · Runs in your browser

Time Duration Converter

Convert durations between milliseconds, seconds, minutes, hours, days and weeks, with a readable days-hours-minutes-seconds breakdown.

STEP 1

Start with your input

Edit the example or replace it with your own text.

STEP 2

Choose your options

These settings are optional. Keep the defaults to get started.

How to use Time Duration Converter

  1. Enter a finite nonnegative duration, including a decimal if needed.
  2. Choose the source unit and convert.
  3. Read all unit conversions and the decomposed duration.

Duration arithmetic without timezone ambiguity

A duration is an elapsed amount, not a calendar date. This converter treats a minute as 60 seconds, an hour as 3600 seconds, a day as 24 hours, and a week as seven days. It is useful for log timings, cache lifetimes, media lengths and timeout configuration. It does not interpret clock times or daylight-saving transitions.

Avoid pretending months have a fixed duration

Calendar months and years vary, so they are intentionally excluded. Fractional input is supported within ordinary JavaScript floating-point precision; the readable breakdown is rounded to the nearest millisecond. Values too large for a safe millisecond count are rejected. Use the timestamp tool when you need a specific moment in time rather than an elapsed span.

Example input

90061

Why is a calendar day sometimes not 24 hours?

Local clock changes can make a calendar day shorter or longer. This tool uses fixed elapsed-time units and does not model calendar transitions.

Is input uploaded?

Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.

Related tools and guides

Browse all developer tools