Free toolNo sign-up · Runs in your browser

Unix timestamp converter

A Unix timestamp is the number of seconds since 00:00:00 UTC on 1 January 1970. 1767225600 is midnight UTC on 1 January 2026. Paste a timestamp in seconds, milliseconds or microseconds to read it as a date, or pick a date to get its timestamp and Discord time codes.

CURRENT UNIX TIMESTAMP

ms

Seconds since 00:00:00 UTC on 1 January 1970. Click a number to copy it.

TIMESTAMP TO DATE

Read as seconds

DATE TO TIMESTAMP

DISCORD TIMESTAMPS

Paste a code into a message. Everyone sees it in their own time zone.

Useful Unix timestamps

MomentTimestamp (seconds)
1 January 1970, the epoch0
1 January 2000946684800
1 January 20251735689600
1 January 20261767225600
1 January 20271798761600
19 January 2038, 32-bit limit2147483647

Get the current timestamp in code

LanguageSeconds
JavaScriptMath.floor(Date.now() / 1000)
Pythonint(time.time())
SwiftInt(Date().timeIntervalSince1970)
Gotime.Now().Unix()
Terminal (macOS)date +%s

Discord timestamp styles

CodeShows
<t:1767225600:t>Short time
<t:1767225600:T>Long time
<t:1767225600:d>Short date
<t:1767225600:D>Long date
<t:1767225600:f>Short date and time
<t:1767225600:F>Long date and time
<t:1767225600:R>Relative

More time tools: the time zone meeting planner and the military time converter.

Unix Timestamp Converter
questions

What is a Unix timestamp?

The number of seconds that have passed since 00:00:00 UTC on 1 January 1970, called the Unix epoch, not counting leap seconds. It's the same everywhere in the world, which is why computers store time this way.

Is my timestamp in seconds or milliseconds?

Count the digits. Today, timestamps in seconds have 10 digits and milliseconds have 13. JavaScript's Date.now() returns milliseconds; most Unix tools and APIs use seconds. The converter detects which one you pasted.

How do I make a Discord timestamp?

Write <t:TIMESTAMP:STYLE> in a message, with the timestamp in seconds. <t:1767225600:R> shows a relative time such as "in 2 hours" or "3 days ago", and <t:1767225600:F> the full date and time. Each person sees it in their own time zone.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit number run out at 2147483647, which is 03:14:07 UTC on 19 January 2038. After that the number wraps negative. Most modern systems use 64-bit time and aren't affected.

More free tools