Home › Date & Time › Unix Timestamp Converter

Unix Timestamp Converter

Turn a Unix timestamp into a readable date, or a date into a Unix timestamp, in seconds or milliseconds.

Whole seconds (10 digits) or milliseconds (13 digits). Seconds can have up to 3 decimal places.

Current Unix time: - seconds

Date and time (UTC)

-

What is a Unix timestamp?

A Unix timestamp is the number of seconds that have passed since 1 January 1970 at 00:00:00 UTC. That moment is called the Unix epoch. Programmers, databases and websites use it because a single number is easy to store, compare and sort.

How the conversion works

Date and time = 1 January 1970, 00:00:00 UTC + the timestamp in seconds
  • A 10-digit timestamp is usually in seconds, such as 1700000000.
  • A 13-digit timestamp is usually in milliseconds, such as 1700000000000. Divide it by 1,000 to get seconds.
  • Negative timestamps are moments before 1970. For example, −1 is one second before the epoch.
  • A timestamp is always in UTC. The same number shows a different clock time in each time zone.

Examples

TimestampDate and time (UTC)
01 January 1970, 00:00:00
10000000009 September 2001, 01:46:40
170000000014 November 2023, 22:13:20
214748364719 January 2038, 03:14:07

Where is it useful?

  • Reading dates stored in databases, logs, APIs and files.
  • Checking when a token, cookie or order was created or will expire.
  • Turning a date into a number for programs and spreadsheets.
  • Comparing events recorded in different time zones.

Things to keep in mind

  • This converter shows the date in UTC and in your device's time zone. Choose UTC or your device's time zone when you convert a date to a timestamp.
  • When the unit is set to detect automatically, numbers with 12 or more digits are treated as milliseconds. Choose the unit yourself if a value is unusual.
  • Timestamps from 1900 to the year 9999 are supported.
  • Unix time does not count leap seconds, so each day is exactly 86,400 seconds.

Need another calculator?

Browse all calculators
Scroll to Top