Discord Timestamp Generator

Pick a date and time to get every Discord timestamp code (<t:…>) with a live preview of how it renders. Paste the code into a message and each reader sees it in their own time zone. Runs entirely in your browser.

Discord timestamp codes

Paste a code into any Discord message. Previews show how it renders in your locale for a viewer in your time zone — every reader sees it in their own time zone.

Default

Same as :f (long date + short time)

<t:1700000000>
…

Short time

Hour and minute

<t:1700000000:t>
…

Long time

Hour, minute and seconds

<t:1700000000:T>
…

Short date

Numeric date

<t:1700000000:d>
…

Long date

Month name, day and year

<t:1700000000:D>
…

Short date/time

Long date + short time

<t:1700000000:f>
…

Long date/time

Weekday, long date + short time

<t:1700000000:F>
…

Relative

Counts up/down live, e.g. "in 2 hours"

<t:1700000000:R>
…

Got a Discord message, user or channel ID? Decode it with the Snowflake ID decoder to see exactly when it was created.

Decode a Discord timestamp

Paste a message containing <t:…> tags (or a bare Unix timestamp) to see the exact date.

<t:1700000000:R>
…
2023-11-14T22:13:20Z · Unix 1700000000
<t:1700000000:F>
…
2023-11-14T22:13:20Z · Unix 1700000000

Discord timestamp formats

The syntax is <t:UNIX_SECONDS:STYLE>. Examples below use 1700000000 (14 Nov 2023 22:13:20 UTC) rendered for an English (US) viewer in UTC.

StyleCodeRenders as
Short time<t:1700000000:t>10:13 PM
Long time<t:1700000000:T>10:13:20 PM
Short date<t:1700000000:d>11/14/2023
Long date<t:1700000000:D>November 14, 2023
Short date/time (default)<t:1700000000:f>November 14, 2023 10:13 PM
Long date/time<t:1700000000:F>Tuesday, November 14, 2023 10:13 PM
Relative<t:1700000000:R>2 years ago / in 3 hours

How Discord timestamps work

Discord stores only the Unix timestamp (seconds since 1 January 1970 UTC). The client formats it using each viewer's own time zone and language settings, so one message works for a global server — no more “8pm EST / 1am GMT” conversions. Omitting the style (<t:1700000000>) is the same as :f. The :R style keeps updating, counting down to events and up from past ones.

Need the raw Unix value for something else? Use the Epoch Converter or current Unix timestamp. To find when a Discord message, user or server was created, paste its ID into the Snowflake ID decoder.

FAQ