Timestamp Converter

Convert a Unix timestamp to a readable date, or a date to a timestamp, in any time zone. The unit is detected automatically.

Runs in your browser
Current Unix time–

Timestamp or date to convert

Date and time to timestamp

Pick a date and time to get its Unix timestamp. Daylight saving time is taken into account.

Uses your browser’s time zone database. Nothing is uploaded.

How to use the Timestamp Converter

  1. Paste a timestamp, or a date such as 2024-05-17T09:30:00Z.
  2. Seconds, milliseconds, microseconds and nanoseconds are detected from the number of digits.
  3. Choose a time zone to see the local time there.
  4. Or build a timestamp from a date and time below.

Example

Seconds since 1970
Input
1700000000
Result
2023-11-14T22:13:20.000Z (Tuesday)

What it does

Automatic unit detection
10-digit values are read as seconds, 13 digits as milliseconds, 16 as microseconds and 19 as nanoseconds. You can override this.
Every time zone
Uses your browser’s IANA time zone data, including daylight saving rules.
Many formats
ISO 8601, RFC 2822, local time, relative time, day of year and ISO week number.
Live clock
The current Unix time ticks at the top, ready to copy.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is the same everywhere in the world at a given moment.

Seconds or milliseconds?

Unix tools and most databases use seconds. JavaScript, Java and many APIs use milliseconds. A current timestamp has 10 digits in seconds and 13 in milliseconds.

What happens in 2038?

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038 at 03:14:07 UTC. This tool uses 64-bit numbers and is not affected.