How to use it
- Choose the date, the time and the time zone the event is planned in. "Use current time" fills in one hour from now.
- Or paste a Unix timestamp (or a whole code like
<t:1794684600:R>) into the Unix field to jump to that moment. - Check the preview next to each style. It shows the time as a reader in the selected zone would see it.
- Click Copy on the style you want and paste the code into your Discord message. Send it and Discord renders the time.
How Discord timestamps work
A Discord timestamp is a short code you type into a message. Discord replaces it with a date or time. The code looks like this: <t:1794684600:F>.
It has three parts. t says "this is a timestamp". The long number is a Unix timestamp: the count of seconds since 1 January 1970, 00:00 UTC. The last letter is the style. You can leave the style out and Discord uses f, the long date with short time.
The useful part is what the reader sees. Discord's developer documentation says a timestamp is displayed in the user's own time zone and locale. You write one code, and each person sees it converted for them. That is why moderators use it for events: nobody has to ask "what time is that for me?"
Worked example: a game night on 14 November 2026
Say your community meets on Saturday, 14 November 2026, at 19:30 UTC. To get the Unix value, run this in a terminal with Bun installed:
bun -e 'console.log(Date.UTC(2026, 10, 14, 19, 30, 0) / 1000)'
Months start at 0 in JavaScript, so November is 10. The result is 1794684600. The generator above does the same calculation when you pick the date, the time and the zone.
Now post <t:1794684600:F>. Here is what three readers see:
| Reader's time zone | What Discord shows |
|---|---|
| New York (EST, UTC-5) | Saturday, November 14, 2026 at 2:30 PM |
| Berlin (CET, UTC+1) | Saturday, November 14, 2026 at 8:30 PM |
| Tokyo (JST, UTC+9) | Sunday, November 15, 2026 at 4:30 AM |
One code, three different clocks, and even a different weekday in Tokyo. The exact wording depends on the reader's language and region, so a reader in Germany sees the text in German. The table shows English (US) format, the same one the previews in the tool use.
All nine formats
The table below uses the same moment as above, as seen from New York. Style R depends on the current time, so it is shown as a pattern.
| Style | Name | Code | Example output |
|---|---|---|---|
| t | Short time | <t:1794684600:t> | 2:30 PM |
| T | Medium time | <t:1794684600:T> | 2:30:00 PM |
| d | Short date | <t:1794684600:d> | 11/14/2026 |
| D | Long date | <t:1794684600:D> | November 14, 2026 |
| f | Long date, short time (default) | <t:1794684600:f> | November 14, 2026 at 2:30 PM |
| F | Full date, short time | <t:1794684600:F> | Saturday, November 14, 2026 at 2:30 PM |
| s | Short date, short time | <t:1794684600:s> | 11/14/2026, 2:30 PM |
| S | Short date, medium time | <t:1794684600:S> | 11/14/2026, 2:30:00 PM |
| R | Relative time | <t:1794684600:R> | in 20 days, or 3 hours ago |
The official reference lists nine styles: t, T, d, D, f, F, s, S and R. If you leave the style out, Discord uses f. Some older guides list only seven styles, so check the table below if a format is missing from one.
Which style should you use?
- Event announcements: use
Ffor the full date andRnext to it. Example: "Starts<t:1794684600:F>(<t:1794684600:R>)". - Countdowns:
Ralone. It shows "in 3 hours" and keeps counting as the message sits in the channel. - Giveaways: put the end time in
forF, and addRso people see how long is left. - Schedules and logs:
sorSgives a compact date and time on one line. - Daily reminders:
tfor just the clock time.
Using timestamps in a real announcement
Here is a full message a moderator might post. Copy it, swap the number, and send.
Movie night is on <t:1794684600:F>. That is <t:1794684600:R>. Doors open at <t:1794684600:t>.
Three codes, one number. Readers get the weekday and date, a live countdown and the plain clock time, all in their own zone. If you change the event time, you only need to replace the number in each code.
For a recurring event, keep a note with the Unix value for the next date. Add 604800 seconds (7 days) to get the same time next week. Across a daylight saving change, check the result in the generator, because the local clock time can shift by an hour.
Common mistakes
Milliseconds instead of seconds
JavaScript's Date.now() returns milliseconds. A current value has 13 digits, such as 1794684600000. Discord expects seconds, which is 10 digits today. Paste 13 digits and the date lands tens of thousands of years in the future. Divide by 1000. The Unix field in this tool accepts both and converts for you.
A missing colon or bracket
The code needs both angle brackets and a colon after t. <t1794684600> or <t:1794684600:F shows up as plain text. Copy the code with the button instead of typing it.
Wrong time zone when you enter the time
The Unix number is always in UTC, so the zone only matters when you convert from a clock time. If you plan an event for 19:30 and your computer is set to a different zone than your community, the number will be off. Pick the zone of the event in the Time zone list.
Daylight saving time
A Unix timestamp is one fixed moment. It does not shift when clocks change. This helps readers, since Discord converts using their local rules. It can hurt you for a weekly event: "19:30 Berlin time every Saturday" is a different Unix value after the clocks change. Generate a fresh code for each date. The generator handles the offset for the date you pick.
Text that does not render inside code
Inside backticks or a code block, Discord shows the code as typed. Keep timestamps in normal text.
How to get a Unix timestamp without the tool
- Linux or macOS terminal:
date +%sfor now, ordate -d "2026-11-14 19:30 UTC" +%son GNU systems. - JavaScript:
Math.floor(Date.now() / 1000)for now, orDate.UTC(2026, 10, 14, 19, 30) / 1000for a date. - Reverse check: paste the number into the Unix field here and read the date back.
Sources
- Discord Developer Documentation, API Reference (message formatting, timestamp styles): syntax
<t:TIMESTAMP:STYLE>, the nine styles, default stylef, display in the user's time zone and locale. - Discord Support: Markdown Text 101: general formatting reference for messages.
Checked October 2026.
Frequently asked questions
How do I make a Discord timestamp?
Type <t:UNIX> or <t:UNIX:STYLE> in a message, where UNIX is a time in seconds since 1 January 1970 UTC. This generator builds the code from a date, a time and a time zone, so you do not have to do the math.
Why does the time show differently for other people?
It is meant to. Discord shows a timestamp in each reader's own time zone and locale. A code for 19:30 UTC shows as 2:30 PM in New York and 8:30 PM in Berlin. Nobody has to convert anything.
How do I get a Unix timestamp?
Enter your date, time and zone above and read the Unix field. In JavaScript, Math.floor(Date.now() / 1000) gives the current value in seconds. In a terminal on Linux or macOS, date +%s does the same.
What do the letters t, T, d, D, f, F, s, S and R mean?
They are the style letters. Lowercase t is short time, T medium time, d short date, D long date, f long date with short time, F adds the weekday, and R is relative ("in 2 days"). s and S are short date with short or medium time. If you leave the letter out, Discord uses f.
Why does my timestamp show a date tens of thousands of years away?
You pasted milliseconds. Discord wants seconds, so a 13-digit value is 1000 times too large. Divide by 1000 and drop the decimals. The Unix field in this tool converts 13-digit values for you.
Why does my timestamp show as plain text?
Usually a typo. The code needs both angle brackets and a colon after the t, for example <t:1794684600:F>. A missing colon, a space, or a non-numeric value stops Discord from rendering it.
Does the relative timestamp update by itself?
Yes. The R style shows text like "in 3 hours" or "2 days ago" and changes as time passes, so it works well for countdowns. The preview here is calculated once when the page updates.
Do I need a bot to use Discord timestamps?
No. You can paste the code into any normal message. Bots can use the same codes in their messages too.