Datetime.app

Unix Timestamp Converter

Unix Timestamp Converter

Convert Unix / epoch timestamps to human-readable dates — and back.

Current Unix Timestamp

1796019488

Seconds elapsed since January 1, 1970 00:00:00 UTC — updates every second.

Timestamp to Date

Date to Timestamp

Common Reference Timestamps

Click any entry to load it into the converter above.

Unix Epoch (Jan 1, 1970)0
Y2K (Jan 1, 2000)946684800
Y2K38 (Jan 19, 2038)2147483647
Start of 20251735689600
Start of 20261767225600

About Unix Timestamps

What is epoch time?

Unix timestamps count the seconds since January 1, 1970 00:00:00 UTC. They provide a timezone-agnostic, language-agnostic way to store and compare moments in time — a cornerstone of software engineering.

Seconds vs. milliseconds

Classic Unix time is in seconds. JavaScript and many modern APIs use milliseconds. As a rule of thumb: a 10-digit number is seconds; a 13-digit number is milliseconds. This converter handles both automatically.

Where are timestamps used?

Unix timestamps are used in databases, log files, JWT tokens, HTTP headers (Last-Modified), version control systems, and virtually every programming language. They eliminate ambiguity caused by daylight saving time and timezone differences.

ISO 8601 format

ISO 8601 (e.g. 2026-01-01T00:00:00.000Z) is the international standard for date/time strings. It is human-readable, sortable, and always unambiguous. Use it when you need a text representation of a Unix timestamp.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC, not counting leap seconds. It is a standard way to represent a point in time as a single integer, used widely in programming, databases, and APIs.

How do I convert a Unix timestamp to a human-readable date?

Paste your Unix timestamp into the 'Timestamp to Date' field above and the converter will instantly show you the equivalent date in local time, UTC, ISO 8601 format, and as a relative description (e.g. '3 days ago').

How do I convert a date to a Unix timestamp?

Use the 'Date to Timestamp' section. Pick your date and time using the date picker (it uses your local timezone) and the corresponding Unix timestamp will appear immediately.

Does Unix timestamp count milliseconds or seconds?

The original Unix timestamp is measured in seconds. Many modern programming environments (including JavaScript's Date.now()) return milliseconds. This converter accepts both — if your value is larger than 9,999,999,999 it is treated as milliseconds and converted automatically.

What is the Year 2038 problem?

Many legacy 32-bit systems store Unix time as a signed 32-bit integer, which overflows on January 19, 2038 at 03:14:07 UTC (timestamp 2147483647). Modern 64-bit systems are not affected and can represent dates billions of years into the future.

What is the Unix epoch?

The Unix epoch is the reference point for all Unix timestamps: January 1, 1970, 00:00:00 UTC, represented as the value 0. Every positive timestamp is the number of seconds after that moment; negative timestamps represent dates before 1970.