Free tool
Discord timestamp generator
Pick a date and time, copy the tag, and everyone who reads it sees that moment in their own time zone. Paste a tag, a Unix time or a Discord ID below to decode it instead.
In your time zone (UTC). Readers see it in theirs.
Unix time
1790564400Pick a style and copy its tag
Short time
03:00 AM
<t:1790564400:t>Medium time
03:00:00 AM
<t:1790564400:T>Short date
09/28/2026
<t:1790564400:d>Long date
September 28, 2026
<t:1790564400:D>Long date, short time (default)
September 28, 2026 at 03:00 AM
<t:1790564400:f>Full date, short time
Monday, September 28, 2026 at 03:00 AM
<t:1790564400:F>Short date, short time
09/28/2026, 03:00 AM
<t:1790564400:s>Relative
in 58 minutes
<t:1790564400:R>How Discord timestamps work
A timestamp tag is a Unix time — the number of seconds since the start of 1970, in UTC — wrapped in <t: and >, with an optional letter at the end choosing how it is shown. Discord replaces the tag with a date in each reader's own time zone and language, so "the event starts at <t:1767225600:t>" means the same moment to someone in London and someone in Sydney, shown to each in their local time.
The relative style, R, is the one that updates itself: it reads "in 3 hours", then "in 5 minutes", then "2 minutes ago", without the message ever being edited. It is the right choice for countdowns and "last seen" lines.
Tags work in message text, and in the description and field values of an embed. They are not rendered in embed titles, author names or footers, where they appear as the raw tag.
Timestamps from a bot
Both big libraries build the tag for you. In discord.js, the time() helper takes a Date and a style: time(date, TimestampStyles.RelativeTime). In discord.py, discord.utils.format_dt(dt, style="R") does the same with a datetime.
If you build it yourself, the most common mistake is units. JavaScript's Date.now() and getTime() return milliseconds, and Discord wants seconds: divide by 1000 and round down. A tag in milliseconds shows a date tens of thousands of years in the future.
FAQ
Questions
Will everyone see the same time?
Everyone sees the same moment, each in their own time zone and date format. That is the whole point of the tag: nobody has to convert "8pm GMT" in their head.
Why is the preview here slightly different from what Discord shows?
Discord formats dates with its own rules for each language, and they differ in small ways from your browser's, such as whether a month is written in full. The tag you copy is identical either way; only the preview is an approximation.
What is the "s" style?
A short date followed by a short time, such as 20/04/2021, 16:20. It is the newest of the eight styles, and some older generators do not offer it.
How do I find when a Discord account, message or server was created?
Every Discord ID has its creation time built into it. Turn on Developer Mode in Discord's Advanced settings, right-click the user, message or server, choose Copy ID, and paste it into the decode box on this page.
Run your bot 24/7, free