Unix Timestamp Converter | Epoch to Date and Back

Convert Unix epoch timestamps in seconds or milliseconds to local and UTC date-time, or convert a date-time back to epoch.

Current Unix Epoch Time
0000000000
Local Time
...
UTC/GMT Time
...
Timestamp in Seconds
...
Timestamp in Milliseconds
...

Convert Unix Epoch Time to a Readable Date

Paste a Unix timestamp in seconds or milliseconds to see the matching local time, UTC time, and converted epoch values.

Seconds and Milliseconds Are Easy to Mix Up

A 10-digit timestamp is usually seconds, while a 13-digit timestamp is usually milliseconds. Check the unit before debugging logs, APIs, or database records.

When Timestamp Conversion Helps

Use it for API debugging, server logs, analytics events, token expiry checks, database timestamps, scheduled jobs, and comparing UTC with local time.

About This Tool

Unix Timestamp Converter translates between Unix timestamps (seconds or milliseconds since 1 January 1970) and human-readable date and time. It is used by developers to debug APIs, log files, and database timestamps.

When to Use It

Use this when an API returns a timestamp like 1717200000 and you need to know what date and time it represents, when generating a timestamp for a specific date to use in an API request, or when comparing two timestamps in logs.

How to Use

  1. Enter a Unix timestamp to convert it to a readable date.
  2. Alternatively enter a date and time to get the Unix timestamp.
  3. Choose between seconds and milliseconds.
  4. Copy the result.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp counts the number of seconds elapsed since 00:00:00 UTC on 1 January 1970. It provides a universal, timezone-independent reference for a moment in time.

What is the difference between seconds and milliseconds timestamps?

Most Unix systems use seconds. JavaScript and many web APIs use milliseconds (1000 times larger). A seconds timestamp has 10 digits; a milliseconds timestamp has 13 digits.

What happens after the year 2038?

32-bit signed integers overflow in January 2038 at timestamp 2147483647. Modern systems use 64-bit timestamps which extend the range billions of years into the future.