How to use the Discord timestamp generator
- Choose the date and time of your event.
- Select the timezone you are entering it in. Yours is selected by default.
- Click Copy next to the format you like.
- Paste it into any Discord message, embed description or bot message.
Discord timestamp formats
The code is always <t:UNIX:STYLE>. The last letter picks the style.
| Style | Shows | Example |
|---|---|---|
t | Short time | 9:01 PM |
T | Long time | 9:01:30 PM |
d | Short date | 10/08/2026 |
D | Long date | October 8, 2026 |
f | Short date and time | October 8, 2026 9:01 PM |
F | Full date and time | Thursday, October 8, 2026 9:01 PM |
R | Relative time | in 2 hours |
Why use timestamps?
If you write "Event at 8 PM" in a server with members around the world, half of them have to work out what that means for them. A Discord timestamp stores one exact moment and shows it converted to each person's local time. The relative style (R) counts down automatically, so "starts in 3 hours" always stays correct.
Using timestamps in bots
In discord.py use f"<t:{int(dt.timestamp())}:R>". In JavaScript use `<t:${Math.floor(Date.now()/1000)}:F>`. They render in message content, embed descriptions and field values, but not in embed titles, footers or author names.
Frequently asked questions
How do I make a timestamp in Discord?
Pick a date and time in the generator, choose a format, click Copy and paste the code into any message. Discord shows it in each reader's own timezone.
Why does everyone see a different time?
Discord converts the Unix timestamp to each viewer's local timezone, so an event at 8 PM for you shows the correct local time for people in other countries.
Does it work in embeds and bot messages?
Yes, in message content, embed descriptions and field values. It does not work in embed titles, footers or author names.
My timestamp shows the wrong time. Why?
Check that the timezone selected in the generator matches the timezone you were thinking in, and that you copied the full code including the angle brackets.
More free Discord tools
Try Abyss, a bot with moderation, automod and music in one place.