Discord Timestamp Syntax

A timestamp is <t:seconds:style>. The number is Unix seconds. The letter picks the format. This table is the instant 1618935630, which is 20 April 2021 at 16:20:30 UTC.

Open this instant in the converter

Style previews at 16:20:30 UTC

All nine letters are listed in Discord’s documentation. These English examples illustrate the formats; exact punctuation and wording may differ in Discord.

Tag Name English (US) English (UK)
<t:1618935630:t>Short time4:20 PM16:20
<t:1618935630:T>Medium time4:20:30 PM16:20:30
<t:1618935630:d>Short date04/20/202120/04/2021
<t:1618935630:D>Long dateApril 20, 202120 April 2021
<t:1618935630:f>Long date, short time. Default.April 20, 2021 at 4:20 PM20 April 2021 at 16:20
<t:1618935630:F>Full date, short timeTuesday, April 20, 2021 at 4:20 PMTuesday, 20 April 2021 at 16:20
<t:1618935630:s>Short date, short time04/20/2021, 4:20 PM20/04/2021, 16:20
<t:1618935630:S>Short date, medium time04/20/2021, 4:20:30 PM20/04/2021, 16:20:30
<t:1618935630:R>Relative timeUpdates as time passesRelative to the viewing time

The same instant in your timezone

These local previews show 1618935630 in this browser’s timezone. The relative row updates here; Discord’s exact wording and refresh interval may differ.

StyleEnglish (US)English (UK)
t……
T……
d……
D……
f……
F……
s……
S……
R……

Rules that surprise people

  • Spaces break the tag. <t:1618935630:f> works. <t: 1618935630 : f> stays as text.
  • Use Discord’s backtick code formatting when you want to show the tag’s source text.
  • s and S are officially documented styles: a numeric date with short or medium time. Discord’s documentation shows a comma between date and time.
  • The illustrative US preview uses 9:05 AM; the UK preview uses 09:05.

What does a Discord timestamp look like?

A Discord timestamp is <t:seconds:style>. seconds is a whole number of Unix seconds. style is one letter: t, T, d, D, f, F, s, S, or R. The tag for 20 April 2021 at 16:20:30 UTC in the default style is <t:1618935630:f>.

What happens when the style letter is left out?

Discord treats a missing letter as f, the long date with a short time. Stamp’s copied tags always include the letter, so the style stays obvious in the message.

Why does the same tag look different on another computer?

The tag stores one instant. Discord formats it with the reader’s language and timezone. Stamp’s illustrative English (US) preview uses 12-hour time and month/day dates; its English (UK) preview uses 24-hour time and day/month dates. Exact client formatting may differ.

Illustrative local preview; Discord rendering may differ.