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.
| Style | Use it for | Example preview | Copyable code |
|---|---|---|---|
| t | Short time | 12:30 PM | <t:1791635400:t> |
| T | Time with seconds | 12:30:00 PM | <t:1791635400:T> |
| d | Short date | 10/10/2026 | <t:1791635400:d> |
| D | Long date | October 10, 2026 | <t:1791635400:D> |
| f | Date & time | October 10, 2026 at 12:30 PM | <t:1791635400:f> |
| F | Full date & time | Saturday, October 10, 2026 at 12:30 PM | <t:1791635400:F> |
| s | Short date & time | 10/10/2026, 12:30 PM | <t:1791635400:s> |
| S | Short date & time with seconds | 10/10/2026, 12:30:00 PM | <t:1791635400:S> |
| R | Relative time | in 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.