The format reference

Every Discord timestamp format.

Nine styles. One moment. Choose how much detail your message needs.

✓ Free. Instant. No account.

A timestamp has this shape: <t:UNIX_SECONDS:STYLE>. The seconds select the moment; the final letter selects the presentation. These examples describe 10 October 2026 at 12:30 UTC, using English and a 12-hour clock. The relative example is viewed two hours before that event. Discord may display a different order, clock, or calendar day for another viewer.

All nine styles supported by Discord’s timestamp reference
StyleUse it forExample previewCopyable code
tShort time12:30 PM<t:1791635400:t>
TTime with seconds12:30:00 PM<t:1791635400:T>
dShort date10/10/2026<t:1791635400:d>
DLong dateOctober 10, 2026<t:1791635400:D>
fDate & timeOctober 10, 2026 at 12:30 PM<t:1791635400:f>
FFull date & timeSaturday, October 10, 2026 at 12:30 PM<t:1791635400:F>
sShort date & time10/10/2026, 12:30 PM<t:1791635400:s>
SShort date & time with seconds10/10/2026, 12:30:00 PM<t:1791635400:S>
RRelative timein 2 hours<t:1791635400:R>

Which format should I use?

For a community event, F gives readers the day of the week, date, and time. Add R on the next line to show how soon it starts. For a short chat message, t is often enough when the date is already clear. Use T only when seconds matter.

The s and S styles include a short date and time. They are useful when you want a compact message without dropping the date. If you found an older tutorial listing seven styles, these two additional styles are in the current official reference.

Capital letters matter

t and T produce different output. So do d and D. Relative time is uppercase R; lowercase r is not a supported style. When the style is omitted, as in <t:1791635400>, Discord uses f.

A countdown is relative wording

R may display “in 2 hours” before an event or “2 hours ago” afterward. It does not create a scheduled message, trigger a notification, or repeat the event. Discord determines the exact wording and refresh rate.

Choose a time and copy a format →

Copy your code

Your browser could not access the clipboard. Select the text and copy it manually (Ctrl+C or ⌘C).