Useful Hacks

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Processed locally in your browser. Nothing you enter is uploaded or stored.

Overview

Converts a Unix timestamp (seconds or milliseconds since 1 Jan 1970 UTC) to a human-readable date, and back.

How to use it

  1. 1Enter a timestamp, or click "Now" to use the current time.
  2. 2The date is shown in your local timezone and UTC.
  3. 3Or enter a date to get its timestamp.

Formula

Timestamp to date

date = new Date(timestamp * 1000)

Multiply by 1000 when the timestamp is in seconds, not milliseconds.

Related tools

All developer tools

Search tools

Search for any tool by name, category or keyword