Discord Timestamp Generator
Make a Discord timestamp that shows every reader the right time in their own zone. For other Unix time conversions, go back to Unix Epoch Converter's main tool.
JavaScript needed for live previews. The codes below are a static example for 1 January 2025, 00:00 UTC.
| Style | Code | Preview | Copy |
|---|---|---|---|
| t Short time | <t:1735689600:t> | 12:00 AM | |
| T Long time | <t:1735689600:T> | 12:00:00 AM | |
| d Short date | <t:1735689600:d> | 01/01/2025 | |
| D Long date | <t:1735689600:D> | January 1, 2025 | |
| f Short date/time (default) | <t:1735689600:f> | January 1, 2025 at 12:00 AM | |
| F Long date/time with weekday | <t:1735689600:F> | Wednesday, January 1, 2025 at 12:00 AM | |
| R Relative | <t:1735689600:R> | 2 years ago |
Runs in your browser. Nothing is sent.
Create a Discord Timestamp in 3 Steps
A Discord timestamp is a short code, <t:UNIX:STYLE>, that Discord turns into a date and time in each reader's own time zone. To make one, pick the date, time and zone above, choose a style from the previews, then copy the code into your message. No bot or server setting is needed, and every timestamp Discord renders this way follows the reader's own settings.
- Set the date and time. Pick the event's date and time, and the time zone it is in. You can also paste a Unix timestamp in seconds.
- Choose a style. Compare the 7 previews and pick the style you want, such as F for the full date or R for a countdown.
- Copy and paste. Copy the <t:…> code and paste it into your Discord message. Every reader sees the time in their own time zone.
The most important step is the time zone. If your event starts at 20:00 in Berlin, set Europe/Berlin before copying. The generator turns that into the one Unix value that means that moment everywhere, which is why people call it a Discord universal timestamp. A reader in New York then sees 14:00 or 15:00, depending on the season, without anyone doing the math.
All 7 Discord Timestamp Formats (t, T, d, D, f, F, R)
Discord has seven classic display styles. The letter after the second colon chooses one. Leave it out and Discord uses f. The examples show <t:1735689600:…> for a US English reader in UTC; other readers see their own language and zone.
| Code | Style | Example |
|---|---|---|
:t | Short time | 12:00 AM |
:T | Long time | 12:00:00 AM |
:d | Short date | 01/01/2025 |
:D | Long date | January 1, 2025 |
:f | Short date/time (default) | January 1, 2025 at 12:00 AM |
:F | Long date/time with weekday | Wednesday, January 1, 2025 at 12:00 AM |
:R | Relative | 2 years ago, in 3 days |
Use F for an announcement, t inside a sentence (“we start at …”), and R next to either for a countdown. Discord's developer documentation now also lists two newer styles, s and S, which show a short date with the time. The reverse box above reads them too.
Discord Relative Timestamps for Countdowns and Events
The R style shows the distance from now: “in 2 hours”, “in 3 days”, “5 minutes ago”. A Discord relative timestamp updates by itself while the message is on screen, so it works as a live countdown without a bot.
For an event post, pair two codes so readers see both the exact time and how soon it is:
Game night starts <t:1735689600:F> (<t:1735689600:R>) The Copy event message button builds exactly that line for the time you picked. Relative times are approximate by design, so use the full date for anything that needs precision.
Convert a Discord Timestamp Back to a Date
Paste any code such as <t:1735689600:R> into the Reverse box and the tool shows the date in UTC and your time, plus the style it uses. This works as a Discord timestamp converter for codes you find in other people's messages, pinned posts or bot output.
The number inside the code is an ordinary Unix timestamp in seconds, so any epoch tool can read it. Paste just the digits into the current epoch time page to compare it with the time right now.
Discord Unix Timestamps in Bots and Embeds
Bots build the same code as people. Take a Discord unix timestamp in seconds, wrap it in <t:…:STYLE> and put it in the message content. The markup also renders inside embed descriptions and field values.
const when = new Date("2025-01-01T00:00:00Z");
const unix = Math.floor(when.getTime() / 1000); // Discord wants seconds
console.log(`Starts <t:${unix}:F> (<t:${unix}:R>)`); Starts <t:1735689600:F> (<t:1735689600:R>) from datetime import datetime, timezone
when = datetime(2025, 1, 1, tzinfo=timezone.utc)
unix = int(when.timestamp())
print(f"Starts <t:{unix}:F> (<t:{unix}:R>)") Starts <t:1735689600:F> (<t:1735689600:R>) The common mistake is passing milliseconds. JavaScript's getTime() returns milliseconds, so divide by 1,000 first, as the JavaScript timestamp guide explains. Note that an embed's own timestamp property is different: it takes an ISO 8601 string and is shown in the embed footer. When you need to convert a UTC time for a schedule by hand, the UTC to local time converter helps. For background on the number itself, see what epoch time is.
Discord Timestamp FAQ
How do Discord timestamps work?
You type a code such as <t:1735689600:F> into a message. Discord replaces it with a date and time shown in each reader's own time zone and language, so everyone sees the moment correctly for where they are. The number is a Unix timestamp in seconds, and the letter after it picks the display style.
Why does my Discord timestamp show the wrong time?
Usually the Unix value was built in the wrong time zone, for example by treating 8 PM in New York as 8 PM UTC, which shifts it by hours. Set the event's real zone in the generator before copying. Also check the value has 10 digits: Discord expects seconds, so a 13-digit millisecond value lands tens of thousands of years in the future.
Do Discord timestamps work on mobile?
Yes. The Discord apps for iOS and Android render timestamp codes the same way as the desktop and web apps, using the phone's own time zone and language settings. Typing the code by hand on a phone is fiddly, so copy it from this generator and paste it into the message box instead.
What is the default Discord timestamp style?
If you leave out the style letter and send <t:1735689600>, Discord uses the f style: a long date with a short time, such as January 1, 2025 at 12:00 AM for a US English reader in UTC. Add :F to include the weekday, :D for the date only, or :R for a relative countdown like in 3 days.