Beginner

Unix Milliseconds Converter

Convert between Unix epoch milliseconds and a calendar date/time in UTC, with full millisecond precision.

Direction

Choose which way to convert

ms

Milliseconds since 1970-01-01 UTC
Unix milliseconds
1,719,446,400,000ms

Milliseconds since the Unix epoch (1970-01-01 00:00:00 UTC)

ISO 8601
2024-06-27T00:00:00.000Z
UTC date
2024-06-27
UTC time
00:00:00
Unix seconds
1,719,446,400
Milliseconds within second
0
1970-01-01 UTC2024-06-271,719,446,400,000 msElapsed since Unix epoch (1970-01-01 UTC)
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Unix milliseconds are the number of thousandths of a second since 1970-01-01 00:00:00 UTC. Enter a millisecond value to get its ISO 8601 date and time, or enter a UTC date and time to get the millisecond timestamp. Equivalent Unix seconds equal milliseconds divided by 1000.

Formula
date = epoch(1970-01-01 UTC) + milliseconds • milliseconds = Date.UTC(year, month, day, hour, minute, second)
How this is calculated

Unix time counts the elapsed time since the epoch, 1970-01-01 00:00:00 UTC. While classic Unix timestamps use whole seconds, JavaScript and many APIs use milliseconds, so this tool works in milliseconds and shows the equivalent seconds (milliseconds / 1000) alongside the millisecond-within-second remainder (milliseconds mod 1000).

In "Milliseconds to date" mode, the entered millisecond value is passed to new Date(ms), and the result is reported as an ISO 8601 string plus separate UTC date and UTC time fields. In "Date to milliseconds" mode, the UTC date (YYYY-MM-DD) and the hour, minute, and second inputs are combined with Date.UTC(...), which returns the corresponding millisecond timestamp. Empty time components default to zero.

All conversions are performed in UTC to avoid time-zone and daylight-saving ambiguity, so the displayed clock values are wall-clock time at the prime meridian. Negative millisecond values represent dates before 1970. Invalid or non-numeric input, or a date string that is not in YYYY-MM-DD form, produces no result.

Frequently asked questions

Unix seconds count whole seconds since 1970-01-01 UTC, while milliseconds count thousandths of a second. To convert, multiply seconds by 1000 or divide milliseconds by 1000.

Unix time is defined relative to UTC, and using UTC avoids ambiguity from local time zones and daylight-saving changes, giving the same timestamp everywhere.

Yes. Dates before the Unix epoch produce negative millisecond values, which this converter handles correctly.

Also known as

unix milliseconds
epoch ms
milliseconds to date
unix ms converter
timestamp milliseconds
epoch milliseconds converter
ms timestamp to date
convert unix ms

APA

TG we-Calculate Editorial Team. (2026). Unix Milliseconds Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/unix-milliseconds-converter

Chicago

TG we-Calculate Editorial Team. "Unix Milliseconds Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/unix-milliseconds-converter.

IEEE

TG we-Calculate Editorial Team, "Unix Milliseconds Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/unix-milliseconds-converter

BibTeX

@misc{wecalculate_unix_milliseconds_converter, title = {Unix Milliseconds Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/unix-milliseconds-converter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?