EpochConverter/milliseconds-to-date

Milliseconds to Date Converter

Convert a Unix timestamp in milliseconds into a readable date and time. This page is built for debugging API payloads, frontend logs, JavaScript Date.now() values, and database fields stored in epoch milliseconds.

Epoch to Date Converter

Auto-detect estimates the unit from the number of digits.

Date and time in UTC

Thursday, February 22, 2024 at 00:00:00

ISO 8601

2024-02-22T00:00:00.000Z

milliseconds
More date and time details
UTC Date

Thursday, February 22, 2024

UTC Time

00:00:00 UTC

Date

Thursday, February 22, 2024

Time

00:00:00

Day

Thursday

Timezone

UTC

Try a timestamp example

What is a milliseconds timestamp?

A Unix milliseconds timestamp is the number of milliseconds that have elapsed since January 1, 1970 at 00:00:00 UTC. These values are typically 13 digits long and are common in browser JavaScript, mobile apps, analytics events, and log streams. If a timestamp has 13 digits, treat it as milliseconds; if it has 10 digits, treat it as seconds. Mixing those two formats is the most common reason dates look wrong.

Milliseconds to date conversion tips

Paste the raw number into the converter above. The unit starts at milliseconds so even short values convert correctly. Copy ISO 8601 to compare results across systems. If your backend expects seconds, divide by 1,000 before sending the value. If your backend returns seconds but your frontend expects milliseconds, multiply by 1,000 before creating a Date.

UTC vs local timezone

The timestamp itself is timezone-agnostic and always represents a UTC instant. Timezone only affects display formatting. That is why the same milliseconds value can appear as different local clock times across cities but still represent one exact moment. Use the timezone selector above when validating incidents between teams in different regions.

Frequently Asked Questions

What does a 13-digit timestamp mean?

It represents milliseconds since the Unix epoch (January 1, 1970 UTC). A 10-digit value is usually seconds.

How can I convert milliseconds to seconds?

Divide by 1,000. For example, 1708560000000 milliseconds equals 1708560000 seconds.

Why is my converted result off by hours?

The timestamp is likely correct, but you are viewing it in a different timezone. Compare using UTC and then switch to local display.

Can Unix milliseconds include timezone information?

No. Unix timestamps do not store timezone data. Timezone is only applied when formatting the value for display.

Related Tools

More free tools for developers debugging timestamps, schedules, and text changes.