Discord Timestamp Formats
A small letter makes a big difference. Find the right one for your message.
| Style | Discord code | Rendered example | Copy |
|---|---|---|---|
| tShort time | <t:1700000000:t> | 10:13 PM | |
| TLong time | <t:1700000000:T> | 10:13:20 PM | |
| dShort date | <t:1700000000:d> | 11/14/2023 | |
| DLong date | <t:1700000000:D> | November 14, 2023 | |
| fDate & time | <t:1700000000:f> | November 14, 2023 at 10:13 PM | |
| FFull date & time | <t:1700000000:F> | Tuesday, November 14, 2023 at 10:13 PM | |
| RRelative time | <t:1700000000:R> | 3 years ago |
The anatomy of a timestamp.
<t:1700000000:F>
Unix seconds in the middle
The number represents seconds since midnight UTC on January 1, 1970. The example 1700000000 is November 14, 2023, at 22:13:20 UTC. The code contains no zone name: Discord supplies each reader's local display.
Case-sensitive style at the end
t and T are different, as are d and D, and f and F. The relative style must be uppercase R. Omitting the style uses the same date-and-time behavior as f.
One moment, different presentation
Discord localizes date order, names, and 12-hour or 24-hour time according to the reader's settings. The UTC examples illustrate the styles; punctuation and ordering may differ.
A countdown becomes elapsed time
R expresses time relative to now. It changes from future to past without editing the message. Timecord refreshes every second; Discord manages its own refresh cadence.