Skip to content
Mediawand

Unix Timestamp Converter

See the current Unix time, turn a timestamp from a log or a database into a readable date, or convert a date into a timestamp. Seconds, milliseconds, microseconds and nanoseconds are recognized automatically.

How to convert a Unix timestamp

  1. 1Paste a timestamp in the “Timestamp to date” box.
  2. 2Read the date in UTC, in your time zone and as a relative time.
  3. 3To go the other way, pick a date and time below and copy the timestamp.

Seconds or milliseconds

Unix time counts seconds since 1 January 1970 UTC. JavaScript and many APIs use milliseconds instead. The number of digits tells them apart: 10 digits are seconds and 13 are milliseconds for dates around now.

Time zones

A timestamp is the same moment everywhere. It's shown in UTC as ISO 8601, the format APIs use, and in your own time zone. When converting a date, choose whether the time you enter is local or UTC.

Formats for every need

Each result has its own copy button: ISO 8601 for APIs and JSON, RFC 2822 for email headers and HTTP, and a relative time like “3 hours ago” for humans.

Frequently asked questions

What is the Unix epoch?
Midnight UTC on 1 January 1970, the moment Unix time counts from.
What is the year 2038 problem?
Systems that store Unix time as a 32-bit signed number overflow on 19 January 2038. Modern systems use 64 bits and aren't affected.
Are leap seconds counted?
No. Unix time ignores leap seconds, so every day has exactly 86,400 seconds.

Related tools

Loading tools…