LOCAL FILES. CLEAR RESULTS.

Milliseconds to Date Converter

Convert a millisecond timestamp — the 13-digit kind JavaScript's Date.now() returns — into a readable date and time, in UTC and your local timezone. Paste it in, read it off.

The 13-digit dialect of time

Work in a browser or Node long enough and one number shape becomes familiar: 13 digits, starting with 17. That is a millisecond timestamp — milliseconds since the Unix epoch — and it is the native tongue of JavaScript's Date.now(), performance logs, analytics events and most client-side storage. This page converts it to a date you can read, using the same timestamp converter with its automatic unit detection.

Millisecond traps worth knowing

Two bugs account for nearly every bad conversion. First, feeding a seconds timestamp into a millisecond field shrinks the date to 1970; feeding milliseconds into a seconds field launches it to around the year 57000. The digit count — 10 versus 13 — is the tell, and this tool checks it for you. Second, timezone: a millisecond value is one instant worldwide, but its date label flips a day depending on the viewer's offset, which is why results here always show UTC alongside local time. For the general explainer, see timestamp to date; for epoch terminology, the epoch converter.

Where you will meet these numbers

localStorage expiries, JWT claims in milliseconds (some issuers), event analytics, IndexedDB keys and performance marks. A reliable converter turns each from an opaque integer into an answer: expired or not, before or after, today or last year.

Private by design

The arithmetic happens in your browser tab. Pasted tokens and log values are never transmitted.

Frequently asked questions

Why do timestamps come in milliseconds at all?

Precision. Seconds are too coarse for measuring durations, ordering events within the same second, or timing user interactions. JavaScript standardised on milliseconds, so browser and Node timestamps are 13 digits.

How can I tell a millisecond timestamp from a seconds one?

Count digits: seconds timestamps have 10 digits at today's dates, milliseconds have 13. If a date conversion shows January 1970, a seconds value was treated as milliseconds — or the reverse shows a date tens of thousands of years ahead.

What is Date.now() exactly?

The number of milliseconds elapsed since 1 January 1970 UTC at the moment the call runs. Converting it gives the current date and time — the same value this page converts for any pasted number.

Can I convert a date back to milliseconds?

Yes — pick the reverse direction in the converter. The result is the millisecond count for midnight or the exact time you entered, depending on the fields provided.

Is my pasted value sent anywhere?

No. The conversion is pure arithmetic done in your browser — nothing is uploaded or logged.

Related tools