Unix Timestamp Converter

Inputs

Seconds (or milliseconds) since 1 January 1970, 00:00 UTC. Leave empty for now.

Results

In your time zone
—
UTC (ISO 8601)
—
Seconds
—
Milliseconds
—
Relative to now
—

Computers often store time as a Unix timestamp: the number of seconds since 1 January 1970 at midnight UTC. This converter turns those numbers into dates you can read, and back.

How to use it

  1. Paste a timestamp in seconds or milliseconds (it’s detected automatically), or leave it empty to see the current time.
  2. Or pick a date and time to get its timestamp.
  3. Copy whichever format you need.

Example: 0 is 1970-01-01T00:00:00Z, and 1700000000 is 2023-11-14T22:13:20Z.

Questions and answers

Seconds or milliseconds?

Unix tools usually count seconds; JavaScript and many APIs use milliseconds. Numbers of 12 digits or more are treated as milliseconds.

What is the year 2038 problem?

Systems that store the timestamp in a signed 32-bit number overflow on 19 January 2038 (2147483647). This converter isn’t affected.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
tsUnix timestamp in seconds or milliseconds.

Example: https://toolabelle.com/unix-timestamp-converter/#ts=1700000000

Related tools