Unix Timestamp Converter

Convert a Unix timestamp (seconds or milliseconds since 1970) to a readable date and time in UTC and your local time zone, or turn a date into a timestamp.

What is a Unix timestamp?

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have passed since 00:00:00 UTC on January 1, 1970, not counting leap seconds. Computers use it because a single number is easy to store, sort and compare, and it is the same everywhere in the world regardless of time zone.

Seconds or milliseconds?

Unix and most server systems use seconds (10 digits for current dates, such as 1767225600). JavaScript and many APIs use milliseconds (13 digits). The converter detects which one you entered automatically.

Worked examples

  • 0 → Thursday, January 1, 1970, 00:00:00 UTC
  • 1,000,000,000 → Sunday, September 9, 2001, 01:46:40 UTC
  • January 1, 2027, 00:00 UTC → 1798761600

The year 2038 problem

Older systems that store timestamps as signed 32-bit integers will overflow at 03:14:07 UTC on January 19, 2038. Most modern systems use 64-bit time and are not affected.

Frequently asked questions

Does a Unix timestamp include a time zone?

No. It always refers to UTC. Your local time is calculated by applying your time zone offset, which the converter shows using your browser's settings.

How do I get the current timestamp?

The converter starts with the current timestamp filled in. In code, JavaScript uses Math.floor(Date.now() / 1000) and most Unix shells use date +%s.

Related tools

Results are estimates for planning and education only. They are not financial, tax, legal or medical advice. Check important numbers with a qualified professional.