Skip to content

Arithmetic on the numbers you type

Split a duration in milliseconds

The millisecond count is split into days, hours, minutes, and seconds.

The page also shows the same length in seconds and in minutes.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

Duration

The sample is fixed. It uses the same rule as the form.

Milliseconds
90061
Split
0d 0h 1m 30s
Seconds
90.061
Minutes
1.5010166666666667

How to use it

  1. 1Fill in the fields.
  2. 2Read the result.
  3. 3Copy the line you need.

Good to know

  • It does not add the duration to a calendar date. Use the date page for that.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

It does not add the duration to a calendar date. Use the date page for that.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools

  • Convert a Unix timestamp

    Unix time counts seconds from the start of 1970 in UTC. JavaScript often counts milliseconds instead. Mixing the two shifts the date by about thirty years, or by a factor of a thousand.

  • Explain a cron expression

    Cron is five fields. This page tells you what they select and computes the next five matches in this device's local time.

  • Convert a byte count

    The same count is shown in binary units (1024) and decimal units (1000).