timestampinfo.fr
Tools & documentation

THE TIME TOOLBOX

Milliseconds Timestamp Converter

Convert milliseconds and microseconds with an explicit unit, without automatic detection.

RESULTS
Date in the selected time zone—
UTC date—
ISO 8601 · UTC—
Timestamp · seconds—
Timestamp · milliseconds—

Units and precision

A millisecond is one thousandth of a second; a microsecond is one millionth. A value of 1711972800123 milliseconds equals 1711972800.123 seconds. Present-day millisecond timestamps usually have 13 digits, but this is not a universal rule.

Convert with JavaScript

const ms = 1711972800123;
console.log(new Date(ms).toISOString());
// 2024-04-01T12:00:00.123Z

Resolution is not accuracy

A value containing milliseconds does not mean the clock is accurate to the millisecond. Its resolution, device synchronization and the source of the data still matter.

Microseconds and nanoseconds are preserved in the seconds output. Displayed dates are limited to milliseconds. For multiple values, use the batch converter.

Reference: JavaScript Date