Discord Timestamp Format Codes Explained
Discord recognizes seven format letters inside its <t:UNIX:FORMAT> timestamp markup. Here's exactly what each one does, and how to pick the right one.
Pick a date & time
Setting this time in —
Discord preview
you
Code to paste
All formats, this moment
| Code | Name | Renders as | Paste this |
|---|---|---|---|
| t | Short Time | 9:01 PM | <t:…:t> |
| T | Long Time | 9:01:00 PM | <t:…:T> |
| d | Short Date | 11/28/2018 | <t:…:d> |
| D | Long Date | November 28, 2018 | <t:…:D> |
| f | Short Date/Time | November 28, 2018 9:01 PM | <t:…:f> |
| F | Long Date/Time | Wednesday, November 28, 2018 9:01 PM | <t:…:F> |
| R | Relative Time | 3 years ago | <t:…:R> |
The syntax, piece by piece
Every Discord timestamp has the same shape: <t:UNIXTIME:FORMAT>. The angle brackets tell Discord's client this is special markup, not literal text. UNIXTIME is a Unix timestamp — the number of whole seconds since January 1, 1970 UTC — which is why it looks like a plain 10-digit number such as 1735689600. FORMAT is a single letter from the table below that tells Discord how to render that moment. Get any piece wrong — curly quotes instead of angle brackets, milliseconds instead of seconds, or an unsupported letter — and Discord just shows the raw text instead of a formatted timestamp.
All seven format codes
| Code | Name | Description | Static example |
|---|---|---|---|
t | Short Time | Hours and minutes | 9:01 PM |
T | Long Time | Hours, minutes and seconds | 9:01:00 PM |
d | Short Date | Numeric date | 11/28/2018 |
D | Long Date | Full month name | November 28, 2018 |
f | Short Date/Time | Discord's default when you paste a timestamp | November 28, 2018 9:01 PM |
F | Long Date/Time | Includes the day of the week | Wednesday, November 28, 2018 9:01 PM |
R | Relative Time | Counts up or down automatically | 3 years ago |
The generator above shows all seven with a live, updating example for whatever date you pick — this table is just the static reference.
Choosing the right format
F(Long Date/Time) for formal announcements — server events, meeting times, tournament starts — where the day of the week helps readers place it.R(Relative Time) for countdowns, giveaway timers, and "starts in" messages where how soon matters more than the exact clock time. See thecountdown timestamp generator.t/T(time only) when the date is already obvious from context, such as a recurring daily schedule. Seetime-only timestamps.d/D(date only) for deadlines or release dates where the specific time of day isn't relevant. Seefull date timestamps.f(Short Date/Time) as a sensible default — it's what Discord itself falls back to if you paste a timestamp with no letter at all.
Using these in bots and embeds
The exact same syntax works inside bot messages, embed fields, and webhook payloads — seeusing Discord timestamps in bots, embeds and webhooks. If a timestamp isn't rendering the way you expect, checkwhy a Discord timestamp might not be working, and for background on how the underlying mechanism works at all, seehow Discord timestamps work.
Frequently asked questions
What is the Discord timestamp format?
It's a piece of message markup, <t:UNIXTIME:FORMAT>, that Discord replaces with a formatted date or time when it renders your message — shown in each reader's own local time zone.
What is the Discord timestamp syntax?
Three parts wrapped in angle brackets: a literal t, a colon, a Unix timestamp (seconds since 1 January 1970 UTC), a second colon, and a one-letter format code — for example <t:1735689600:F>. Get any part wrong (wrong bracket, milliseconds instead of seconds, an unsupported letter) and Discord shows the raw text instead of a formatted timestamp.
What are the Discord date time codes explained one by one?
See the table on this page for all seven: t/T (short/long time), d/D (short/long date), f/F (short/long date-and-time), and R (relative, auto-updating).
Is a Discord timestamp the same as Discord markdown?
It's related but distinct — Discord's usual markdown (**bold**, *italic*) changes text styling, while timestamp markup changes what value is displayed based on the reader's own clock and locale. Both are plain text you type directly into a message.
What does "dynamic timestamp" mean in Discord?
It's another name for this same feature, emphasising that the displayed value isn't fixed text — it updates per viewer (time zone) and, for the R format, continues updating over time ("in 2 hours" becomes "2 hours ago").
Which format code should I use?
Short answer: F for formal announcements, R for countdowns, t/T when the date is already obvious from context, and d/D for date-only references. See "Choosing the right format" below for the full reasoning.
Do all seven formats work everywhere in Discord?
Yes — the same syntax renders identically in regular messages, bot messages, embed fields, and webhook payloads, on desktop, web, and mobile clients.