Timestamp generator for Discord
Pick a date and time to get the Discord timestamp codes for every style, ready to paste into a message. Discord shows each reader the time in their own time zone.
Your time zone:
- 1Short time
- 2Medium time
- 3Short date
- 4Long date
- 5Long date, short time (default)
- 6Full date, short time
- 7Short date, short time
- 8Short date, medium time
- 9Relative time
The preview approximates what Discord shows, using your browser language and time zone. Discord may format a few styles slightly differently.
Styles as listed in the official Discord developer documentation (Message Formatting, Timestamp Styles). docs.discord.com
What you type stays in your browser. What this site loads
How to use a Discord timestamp
A Discord timestamp is a short piece of text that Discord turns into a date or a time when the message is displayed. It looks like <t:1618935630:F>. Choose the date and time above, find the style you want in the table, press Copy and paste the code into a message. Nothing else is needed: no bot and no command.
The big advantage is that every reader sees the time in their own time zone and language. If you write that an event starts at 8 PM, people in other time zones have to calculate the difference. With a timestamp, the same message shows 8 PM to one reader and 2 AM to another, and both are right. That makes it handy for events, raids, giveaways and deadlines on servers with members around the world.
The date and time you pick are read in the time zone of your device, shown above the table. Check that it is the one you mean, especially if you are planning for a place far from where you are.
The Discord timestamp styles
A timestamp has the form <t:SECONDS:STYLE>, where SECONDS is a Unix timestamp in seconds and STYLE is a single letter. If you leave the letter out, Discord uses the default style, f. These are the styles listed in the official Discord developer documentation, with the preview this tool gives for April 20, 2021, at 16:20:30 UTC as seen from UTC in the US English format:
- t, short time: 4:20 PM
- T, medium time: 4:20:30 PM
- d, short date: 04/20/2021
- D, long date: April 20, 2021
- f, long date with short time (default): April 20, 2021 at 4:20 PM
- F, full date with short time: Tuesday, April 20, 2021 at 4:20 PM
- s, short date with short time: 04/20/2021, 4:20 PM
- S, short date with medium time: 04/20/2021, 4:20:30 PM
- R, relative time: for example 3 days ago or in 2 hours
What each reader sees
The same code is shown differently depending on who reads it. The code <t:1618935630:t> is displayed as 4:20 PM to a reader in UTC and as 12:20 PM to a reader in New York on that date, in each case in the format of the reader. The exact wording is chosen by Discord, so the preview here is an approximation made with your browser language and time zone.
The relative style R shows how far away the moment is, such as in 3 days or 2 hours ago.
Read a code or a Unix timestamp
You can also work the other way. Paste a code such as <t:1618935630:R> or a plain Unix timestamp into the reverse field to see the date and time it stands for in your time zone. A number with 13 digits is taken as milliseconds and divided by 1,000. Everything is computed in your browser, and this site is not affiliated with Discord.
Questions
What is the format of a Discord timestamp?
It is <t:SECONDS:STYLE>, where SECONDS is a Unix timestamp in seconds and STYLE is one letter. Without the letter, <t:SECONDS> is the same as the f style: long date and short time.
Why does each person see a different time?
Discord converts the Unix timestamp into the time zone and language of the person reading the message, so one code works for everyone.
What is a Unix timestamp?
It is the number of seconds since 1 January 1970 at 00:00 UTC. If your number has 13 digits it is in milliseconds: divide by 1,000. This tool does that for you when you paste it in the reverse field.
Which styles can I use?
The nine styles t, T, d, D, f, F, s, S and R, as listed in the Discord developer documentation. The table above gives the code for each of them for the date you picked.
Is this tool official?
No. It is not affiliated with Discord. It builds the timestamp codes described in the Discord developer documentation, and everything is calculated in your browser.