Tools

Unix Timestamp and Epoch Converter

Paste an epoch timestamp to see the date, or pick a date to get the Unix timestamp. Seconds and milliseconds are detected automatically, and you can show the result in eight time zones.

LIVE Current Unix Timestamp
0000000000
Seconds since Jan 01 1970 (UTC)
--:--:--

Timestamp to Date

Date to Timestamp

All conversions happen locally in your browser. No data is ever sent to our servers.

What Is Epoch Time (Unix Timestamp)?

Epoch time, also called a Unix timestamp or POSIX time, is the number of seconds that have passed since 00:00:00 UTC on January 1, 1970, the Unix epoch. Because it's a single number with no time zone attached, it's the standard way to store time in databases, APIs, log files and JWT tokens. Converting epoch to a date by hand means accounting for leap years and time zones; the converter above does that for you.

The Current Epoch Time in Other Formats

The live Unix timestamp above shown in the most common date and time formats, updated every second.

— UTC
— ISO 8601
— RFC 822 / 1036 / 1123 / 2822
— RFC 3339

Unix Time Conversion Reference

Common human-readable durations expressed as a number of seconds — handy when calculating expirations, TTLs, or intervals.

Human-Readable Time Seconds
1 Hour3600
1 Day86400
1 Week604800
1 Month (30.44 days)2629743
1 Year (365.24 days)31556926

Unix Timestamp: Seconds vs Milliseconds

The most common source of confusion is whether a timestamp is in seconds (10 digits) or milliseconds (13 digits). The rule: if the value exceeds 10¹² it is almost certainly milliseconds.

Seconds (10 digits) 10 digits

Used by PHP time(), Python time.time(), Unix shell date +%s, and most SQL databases. Example: 1710508200

1710508200
Milliseconds (13 digits) 13 digits

Used by JavaScript Date.now(), Java System.currentTimeMillis(), Node.js, and most browser APIs. Example: 1710508200000

1710508200000

Common Timestamp Use Cases

Why developers prefer Unix timestamps over human-readable date strings:

JWT iat & exp Claims

JSON Web Tokens use Unix timestamps in seconds for the "issued at" (iat) and "expiration" (exp) claims. Timezone-independent and trivially comparable.

Database Chronological Sorting

An integer timestamp column sorts faster than a datetime string and is timezone-neutral, eliminating ambiguity when records come from multiple geographic locations.

Log File Analysis & Event Correlation

Server logs, distributed tracing (OpenTelemetry), and analytics pipelines use millisecond timestamps to correlate events across services with sub-second precision.

Cache Expiration & TTL

Cache systems (Redis, Varnish, CDNs) and API responses use Unix timestamps for Cache-Control max-age, created_at, and updated_at fields.

What Happens on 19 January 2038?

At 03:14:07 UTC on 19 January 2038 the Unix timestamp will exceed the maximum value a signed 32-bit integer can hold (2,147,483,647). Systems that still store time in 32 bits will overflow and wrap around to a negative number, interpreting the date as December 1901. Before then, applications must migrate to 64-bit timestamps — which push the limit roughly 292 billion years into the future.

Frequently Asked Questions

Paste the timestamp into the Timestamp to Date box. The converter shows it as a readable date in UTC and in the time zone you pick, plus ISO 8601 and relative time such as 3 hours ago. It detects on its own whether the number is in seconds or milliseconds.

Count the digits. Today's timestamps have 10 digits in seconds (1710508200) and 13 digits in milliseconds (1710508200000). The converter treats any value above 10^12 as milliseconds, so you can paste either one.

The Unix epoch is midnight UTC on January 1, 1970. The early Unix developers at Bell Labs picked it as a convenient recent starting point; the date has no special meaning. Every Unix timestamp counts the seconds since that moment.

Yes. A timestamp is always UTC, so the converter shows the same moment in the time zone you choose. When you convert a date to a timestamp, the date is read as local time in the selected zone. The ISO 8601 output is always in UTC, marked with a Z, for example 2024-03-15T14:30:00Z.