Online Converter

Millisecond ⇔ Date Converter

Convert between UNIX timestamps and human-readable dates instantly

Milliseconds → Date

Date → Milliseconds

Current Time
Milliseconds
UTC
Local
ISO 8601
Common Timestamps (click to load)
0 Jan 1, 1970 — The UNIX Epoch
1,000,000,000,000 Sep 9, 2001
1,700,000,000,000 Nov 14, 2023
2,000,000,000,000 May 18, 2033

How to Convert Milliseconds to Date

To convert a millisecond timestamp to a human-readable date, divide by 1,000 to obtain seconds, then apply standard date-formatting functions. In JavaScript, pass the millisecond value directly to new Date(ms) and call .toUTCString() or .toISOString(). Most programming languages provide equivalent built-in helpers. The converter above handles UTC, local-timezone, ISO 8601, and relative ("2 hours ago") formats automatically.

How to Convert Date to Milliseconds

To convert a calendar date and time to milliseconds since the UNIX epoch (January 1, 1970 00:00:00 UTC), construct a Date object from the date components, then call Date.getTime() or Date.now(). The tool above supports UTC, local time, and any manual UTC offset, so you get the correct millisecond value regardless of your timezone.

What is a UNIX Timestamp?

A UNIX timestamp (also called epoch time or POSIX time) is the number of milliseconds that have elapsed since 00:00:00 UTC on Thursday, January 1, 1970 — the UNIX epoch. It is a single integer that uniquely identifies any instant in time, making it the universal language for representing time across operating systems, databases, and programming languages. Negative values represent times before 1970.

Copied!