All 7 Discord Time Codes Explained (Syntax, Examples, Scheduling)
Every Discord time code format explained with copy-paste examples. Learn the angle-bracket syntax, all 7 format letters, and how to coordinate events across time zones.
Discord time codes solve a real coordination problem. When you type "3 PM" in a server with members across the US, Europe, and Asia, nobody knows whose 3 PM you mean. A Discord time code converts automatically to each reader's local timezone.
The syntax wraps a Unix timestamp in angle brackets with a format letter. Paste it into any Discord message and every reader sees the time in their own timezone. No plugins or bots required.
Use the timestamp generator to build the code from a date picker instead of calculating Unix time manually.
The 7 Discord time codes
Discord supports seven display styles. Each one is controlled by a single letter after the Unix timestamp.
| Code | Style | Example output | Best for |
|---|---|---|---|
t | Short time | 3:00 PM | Quick time reference |
T | Long time | 3:00:00 PM | Precise scheduling with seconds |
d | Short date | 08/05/2026 | Date-only references |
D | Long date | August 5, 2026 | Formal date display |
f | Short date/time | August 5, 2026 3:00 PM | Event announcements (default) |
F | Long date/time | Tuesday, August 5, 2026 3:00 PM | Detailed event posts |
R | Relative | in 2 hours | Countdowns and deadlines |
The relative format (R) is the most popular for events. It updates in real-time, showing "in 3 hours" before the event and "2 hours ago" after it passes.
The syntax
Every Discord time code follows the same pattern:
<t:UNIX_TIMESTAMP:STYLE>
t:tells Discord this is a time codeUNIX_TIMESTAMPis the number of seconds since January 1, 1970 UTC (Unix epoch time)STYLEis one of the seven letters above (t, T, d, D, f, F, R)
If you leave out the style letter entirely (<t:1722700200>), Discord defaults to the f format (short date and time).
How to generate a time code
The manual approach: figure out the Unix epoch seconds for your target time, type the syntax, and paste it. Faster approach: use a generator.
- Open the timestamp generator
- Pick a date and time using the date picker
- All seven format codes appear at once
- Click the one you need to copy it
- Paste it into your Discord message
The generator uses your browser's timezone, so the output matches what you see on your screen. Other users will see the same moment converted to their own timezone. That is the entire point.
Discord countdown timer
The most popular use of time codes is live countdowns. Paste <t:UNIX_TIMESTAMP:R> into a message and it shows a live countdown like "in 3 days" that updates automatically. When the time passes, it switches to "2 hours ago."
No bots needed. No special permissions. Just paste the code and it counts down for every reader in your server.
Combine the relative format with a full date for context:
Event starts <t:1722700200:F>
That's <t:1722700200:R>
The first line shows the full date. The second line shows a live countdown.
Common uses
Raid and event scheduling. Post a tournament start time or stream schedule that adapts to every timezone. No more "is that EST or PST?" questions.
Deadline reminders. "Submissions close <t:1722700200:R>" shows a live countdown that updates automatically.
Moderation logs. Timestamp when an action was taken. The long date/time format (F) includes the day of the week.
Bot output. Community bots can include time code syntax in welcome messages, scheduled reminders, and countdown embeds.
Troubleshooting
Time shows wrong for you. Check your device's timezone setting. The generator converts your local input to UTC-based epoch time. If your device clock says you are in the wrong timezone, the conversion will be off.
Time shows wrong for others but right for you. That is expected behavior. Each reader sees the time converted to their own timezone.
Code shows as raw text. Make sure the angle brackets are standard ASCII < >, not fancy quotes. Copy from the generator to avoid formatting issues.
Past dates work too. You can create time codes for historical events or log entries. Discord renders them the same way regardless of whether the time is in the past or future.
The @time shortcut vs manual syntax
Discord added a built-in @time shortcut that lets you type natural language times. The manual <t:> syntax gives you more control:
- You can specify the exact format letter
- It works in bot messages and embed fields
- You can prepare time codes in advance for scheduled posts
- You get precision down to the second
For event planning and bot development, the manual syntax is more reliable.
Related tools and guides
- Timestamp generator for converting dates to time codes
- Download time calculator for estimating game or update downloads
- Gamertag generator for creating unique usernames
- Clan name generator for team and server names