🕐 Discord Timestamp Generator
By ToolNimba Web Dev Team · Updated 2026-06-19
-
The preview shows roughly how each renders in your time zone. Discord shows every reader the same instant in their own local time. Tap Copy to grab the code.
| Style | Preview | Code | Copy |
|---|
A Discord timestamp is a small piece of markup that shows a date or time in every reader's own time zone, and updates by itself. Instead of typing the event is at 8 PM EST and making everyone do the maths, you paste one code and Discord renders the right local time for each person. Pick a date and time below, and this tool builds the code for all seven Discord styles with a live preview of how each one looks.
What is the Discord Timestamp Generator?
Discord timestamps use the syntax t:UNIX:STYLE, where UNIX is the number of seconds since the Unix epoch (1 January 1970, 00:00:00 UTC) and STYLE is a single letter that controls the format. Because the timestamp is stored as a single absolute instant in UTC, Discord can display it correctly to everyone: a reader in Tokyo and a reader in New York see the same moment, each shown in their own local clock. This is far more reliable than writing a time zone abbreviation by hand, which readers often misread or fail to convert.
There are seven styles. The letter t gives a short time like 4:30 PM, and T adds seconds. The letter d gives a short numeric date, while D spells out the month. The default style f shows a short date and time together, and F adds the day of the week for a long, formal date and time. The most popular style is R, the relative format, which renders phrases such as in 3 hours or 2 days ago and keeps counting on its own, so a countdown to an event stays accurate without anyone editing the message.
The markup is the same whether you send it in a channel, an embed, a bot message, or a server event description. To use it you copy the code, including the angle brackets, and paste it into the Discord message box. While you are typing it shows as raw text, but once the message is sent Discord converts it into a styled, time zone aware timestamp. Bots generate these codes the same way, which is why scheduling and reminder bots can post a single message that reads correctly for an entire international community.
When to use it
- Announcing an event, stream, or raid start time so every member sees it in their own time zone without manual conversion.
- Posting a self-updating countdown with the relative (R) style, for example a deadline that always shows how long is left.
- Writing bot messages or slash command replies that include a correctly localised date or time.
- Documenting when something happened, such as a moderation action or a release, with an unambiguous absolute time.
How to use the Discord Timestamp Generator
- Pick the date and time you want using the date picker.
- Leave the box unticked to treat your input as your local time, or tick it to enter the time in UTC.
- Read off the computed Unix timestamp in seconds, and check the live preview for each style.
- Press Copy next to the style you want, then paste the code (with its angle brackets) into Discord.
Formula & method
Worked examples
You want to announce a stream starting on 19 June 2026 at 8:00 PM UTC.
- 8:00 PM is 20:00 in 24 hour time.
- Convert 2026-06-19 20:00:00 UTC to Unix seconds: 1781899200.
- Pick the relative style R for a self-updating countdown.
- The code becomes t:1781899200:R wrapped in angle brackets.
Result: Paste the angle-bracketed t:1781899200:R and it renders as in 5 hours, counting down for everyone.
You want a formal full date and time for a meeting on 1 January 2027 at 09:30 UTC.
- Convert 2027-01-01 09:30:00 UTC to Unix seconds: 1798795800.
- Choose the long date and time style F.
- The code becomes t:1798795800:F wrapped in angle brackets.
Result: It renders for each reader as something like Friday, 1 January 2027 09:30 in their local time.
Discord timestamp styles and how each one renders
| Style letter | Name | Example output |
|---|---|---|
| t | Short time | 4:30 PM |
| T | Long time | 4:30:00 PM |
| d | Short date | 06/19/2026 |
| D | Long date | June 19, 2026 |
| f | Short date/time (default) | June 19, 2026 4:30 PM |
| F | Long date/time | Friday, June 19, 2026 4:30 PM |
| R | Relative | in 3 hours |
Common mistakes to avoid
- Using milliseconds instead of seconds. Discord expects the timestamp in seconds, not milliseconds. If you paste a 13 digit millisecond value, Discord will show a date thousands of years in the future. Divide by 1000 and drop the decimals first.
- Leaving out the angle brackets. The code only renders when it is wrapped in angle brackets, like the form this tool copies. Pasting just the inner part means Discord treats it as plain text and shows the raw code.
- Mixing up local time and UTC. The Unix timestamp is always an absolute UTC instant. If you type a local time but compute it as if it were UTC, the result is off by your time zone offset. Use the UTC tick box to be explicit about which one you mean.
- Expecting the preview to match every reader exactly. The preview here uses your own browser locale and time zone. Discord shows each reader the same instant in their own settings, so the exact wording and 12 or 24 hour format can differ from person to person.
Glossary
- Unix timestamp
- The number of seconds elapsed since the Unix epoch, 1 January 1970 at 00:00:00 UTC. Discord uses this to store an absolute instant.
- Epoch
- The fixed reference moment from which Unix time is counted: midnight UTC on 1 January 1970.
- Style letter
- The single character after the second colon (t, T, d, D, f, F, or R) that tells Discord how to format the date and time.
- Relative timestamp
- The R style, which renders phrases like in 2 hours or 3 days ago and keeps updating on its own.
- UTC
- Coordinated Universal Time, the global reference time zone with no daylight saving, used as the basis for Unix timestamps.
Frequently asked questions
How do I make a Discord timestamp?
Pick a date and time in the tool above, copy the generated code for the style you want, and paste it into the Discord message box including the angle brackets. The code looks like t:1781899200:R wrapped in angle brackets, and Discord converts it to a localised time when you send the message.
What do the style letters mean?
There are seven: t is a short time, T a long time with seconds, d a short numeric date, D a long written date, f the default short date and time, F a long date and time with the weekday, and R a relative phrase like in 3 hours. The reference table on this page shows an example of each.
Why does Discord show a different time to my friend?
That is the whole point of timestamps. The code stores one absolute instant in UTC, and Discord displays it in each reader's own time zone and clock format. So you and your friend see the same moment shown in your respective local times.
Do I need a bot to use Discord timestamps?
No. Timestamps are a built in Discord feature, so any user can paste the markup into a normal message. Bots generate the same codes automatically, which is handy for scheduling and reminder bots, but they are not required.
Why is my timestamp showing the wrong date?
The most common cause is using milliseconds instead of seconds, which pushes the date far into the future, or confusing local time with UTC. This tool computes seconds for you and lets you tick a box to enter the time as UTC, which avoids both mistakes.
What is a Unix timestamp?
A Unix timestamp is the number of seconds since the Unix epoch, midnight UTC on 1 January 1970. It is a compact, time zone neutral way to represent an exact moment, which is why Discord and many other systems use it under the hood.