Epoch converter

Free online epoch converter. Convert Unix timestamp to date and date to timestamp, with ISO 8601, UTC and relative time formats.

Current Unix timestamp0

How it works

Two modes: 'Timestamp → Date' converts a Unix timestamp to readable date with local format, ISO 8601, UTC and relative time. 'Date → Timestamp' converts a date to Unix timestamp in seconds and milliseconds.

FAQ

What is a Unix timestamp?

It's the number of seconds elapsed since January 1, 1970 (Unix epoch). For example, timestamp 1609459200 corresponds to January 1, 2021.

What's the difference between seconds and milliseconds?

Timestamp in seconds has 10 digits, in milliseconds has 13 digits. JavaScript uses milliseconds, most servers use seconds. The tool distinguishes them automatically.

Does the timestamp account for time zones?

Unix timestamp is always in UTC. The local date conversion accounts for your browser's time zone.