UNIX · ISO 8601 · UTC · DISCORD

Unix
Timestamp Converter

Convert a timestamp to a date, and back, in seconds or milliseconds.

No data is sent to a server: everything runs locally, in your browser, with no account, no tracker, nothing to install.

THE ESSENTIALS

Timestamp converter

Ready
UTC time
UTC
ISO 8601
Discord timestamp
Ago / in

Enter confirms and adds to history · N jumps to current time · H opens history

RIGHT NOW

Current timestamp

The current Unix time, updated every second.

Seconds
Milliseconds
ISO 8601
Discord timestamp

MULTIPLE VALUES

Batch conversion

Paste up to 25 timestamps, one per line.

Conversions will appear here.

COMPARE

Difference between two dates

Compare two timestamps or dates and get the exact duration.

Enter two values.

Tip: a Unix timestamp counts the seconds since January 1, 1970, UTC. JavaScript typically uses milliseconds.

Understanding the Unix timestamp

A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC, a reference point known as the “epoch”. It’s the most common way to store a date in a program, a database, or a log file.

Seconds or milliseconds?

A 10-digit timestamp is in seconds, a 13-digit one is in milliseconds. For example, 1722505500 corresponds to August 1, 2024 at 09:45:00 UTC, and 1722505500000 refers to the same instant in milliseconds. JavaScript returns milliseconds with Date.now(); Python and PHP return seconds with time.time() and time().

Does a timestamp depend on the time zone?

No. A timestamp always refers to the same instant, no matter where in the world you are. Only the display changes: the same timestamp reads 09:45 in UTC and 11:45 in Paris during summer time.

Can a timestamp be negative?

Yes. A negative value refers to a date before January 1, 1970. For example, -86400 corresponds to December 31, 1969.

What is the year 2038 problem?

Systems that store the timestamp as a signed 32-bit integer can’t go beyond 2147483647, which is January 19, 2038 at 03:14:07 UTC. Beyond that, the value overflows. 64-bit systems aren’t affected.