Discord Timestamp Generator: Create Dynamic Timestamps
Pick a date and time, and get every Discord timestamp code ready to paste. This free Discord timestamp generator converts your date to a Unix timestamp and builds all seven formats of the <t:unix:format> code, including the relative style that shows "in 2 hours" or "3 days ago". Discord then displays the time in each reader's own time zone, so your event time is never confused. It runs in your browser with no sign in, and nothing is sent to a server.
Use it to announce events, raids, game nights, streams, giveaways, deadlines and meetings in a server where members live in many time zones.
Use the toolAll 7 formats
Previews show how each code looks in your own time zone. Readers in other zones see their own local time. Post the code outside a code block, or Discord will show it as plain text.
Date and time
Discord codes
Turn on Developer Mode in Discord settings, then right click a user, message or server and choose Copy ID.
Created
All 7 formats
Short and long time, date, date and time, and relative.
Right time for everyone
Discord shows each reader their own time zone.
Unix converter
Turn a number back into a date.
Private by design
No Discord login. Nothing is stored.
Pick the date and time of your event and the time zone you mean, then copy the code for the style you want and paste it into Discord. Each reader sees the time in their own zone.
Key Takeaways
- A Discord timestamp looks like <t:UNIX:STYLE>, where UNIX is the number of seconds since 1 January 1970 UTC.
- The letter after the second colon sets the style. t and T are time, d and D are date, f and F are date and time, and R is relative.
- Discord converts the time for each reader, so you never need to write a time zone.
- A 13 digit number is in milliseconds. Use seconds only.
- Post the code outside a code block, or Discord shows it as plain text.
How to Make a Discord Timestamp
-
1STEP 1 Choose the date and time of your event, and check that the time zone is the one you mean.
-
2STEP 2 The tool shows the Unix timestamp and builds the codes for all seven formats.
-
3STEP 3 Click Copy beside the format you want. For example: <t:1791580380:F>.
-
4STEP 4 Paste the code into a Discord message, event description, announcement or bot message.
-
5STEP 5 Send it. Discord turns the code into a readable date and time in the time zone of whoever reads it.
Discord Timestamp Formats
A Discord timestamp has the shape <t:UNIX:STYLE>. The Unix number is the moment in time, and the style letter after the second colon picks how it looks. If you leave the style off, Discord uses the short date and time format. The example time below is 1791580380, which is Friday, October 9, 2026, 21:13 UTC. The previews show how it looks for a reader in UTC who uses US English. Other readers see their own time zone and local date style.
| Style | Name | Code | Looks like |
|---|---|---|---|
| t | Short time | 9:13 PM | |
| T | Long time | 9:13:00 PM | |
| d | Short date | 10/09/2026 | |
| D | Long date | October 9, 2026 | |
| f | Short date and time | October 9, 2026 at 9:13 PM | |
| F | Long date and time | Friday, October 9, 2026 at 9:13 PM | |
| R | Relative time | For example, "in 2 hours" or "3 days ago" |
Which format should I use?
- Use F for an event announcement. The weekday, date and time leave no room for doubt.
- Use R for countdowns, such as "starts in 3 hours". It also works for "posted 2 days ago" notes.
- Use t or T when only the time matters, for example a daily stream.
- Use d or D for deadlines and dates with no set time.
- Combine two. Many servers post the full time with F and a countdown with R side by side.
What Is a Unix Timestamp?
A Unix timestamp is the number of seconds since 1 January 1970, 00:00:00 UTC. It names one exact moment, no matter where you are in the world, which is why Discord uses it. The number 1791580380 means 1,791,580,380 seconds after that start point, which is 21:13 UTC on 9 October 2026.
A Unix timestamp in seconds has 10 digits for dates from 2001 to 2286. If your number has 13 digits it is in milliseconds. Divide by 1,000 and drop the decimals before you use it in a Discord code.
Why Use Discord Timestamps?
Writing "Game night at 8 PM" only works if everyone shares your time zone. Writing "8 PM EST" makes readers do the maths. A timestamp code fixes this because Discord converts the time for each person automatically. A member in London sees their own local time, and a member in Mumbai sees theirs, from the same message. Relative timestamps add a live countdown that keeps updating while the message is on screen.
How to Get a Unix Timestamp
Besides this tool, you can get the number in code. These are common one-liners:
| Language | Code for the current time in seconds |
|---|---|
| JavaScript | Math.floor(Date.now() / 1000) |
| Python | int(time.time()) (after import time) |
| Discord.js | time(new Date(), "F") (from the builders package) |
| Bash (Linux) | date +%s |
| Spreadsheet | =(A1 - DATE(1970,1,1)) * 86400 for a date and time in UTC |
Bots often build timestamps this way so that scheduled reminders, giveaway end times and event posts display correctly for every user.
Discord Timestamp Not Working? Fixes
- The code shows as plain text. Check the brackets and colons. It must be <t:NUMBER:LETTER> with no spaces, and the letter after the second colon is case sensitive (t and T are different).
- The date is wrong by hours. Check the time zone in the generator. The picker uses the time zone you select, and Discord then shows each reader the same moment in their own zone.
- The date is in 1970 or far in the future. The number is likely in milliseconds. Use seconds only.
- It does not display inside a code block. Discord shows plain text inside code blocks. Post the timestamp outside of code formatting.
- It looks different to a friend. That is by design. Everyone sees their own time zone and local date style.
Discord Snowflake to Timestamp
Every Discord user, message, server and channel has an ID called a snowflake, and each snowflake contains the time it was created. To read it, shift the ID right by 22 bits and add 1420070400000, which is the first millisecond of 2015, Discord epoch. For example, ID 175928847299117063 was created on 30 April 2016 at 11:18:25 UTC. The tool includes a snowflake converter, so you can check when an account or message was made.
Is My Data Private?
Yes. The generator works in your browser. The date, time and codes are not sent to a server or saved, and no Discord login is needed. The tool never reads your Discord account.
More Free Tools for Creators and Communities
Planning a giveaway? Draw winners with the List Randomizer or the Random Name Picker. Style your server posts with the Cursive Text Generator, Small Text Generator or Glitch Text Generator, or check your announcement length with the Character Counter.
FAQs
How do I make a timestamp in Discord?
Use the generator to pick a date, time and time zone, then copy the code for the style you want, such as <t:1791580380:F>. Paste it into any Discord message. Discord turns the code into a readable date and time, shown in the time zone of each person who reads it.
What do the letters in a Discord timestamp mean?
The letter after the second colon sets the style. T and t are long and short time, D and d are long and short date, F and f are long and short date with time, and R is relative time such as in 2 hours. Without a letter, Discord shows the short date and time style, f.
Do Discord timestamps show the right time for everyone?
Yes. A timestamp stores one exact moment, and Discord shows it in each reader time zone and local date style. A member in London and a member in Mumbai see the same event at their own local clock time. That is why timestamps beat writing a time zone by hand.
What is the Unix timestamp for a date?
It is the number of seconds from 1 January 1970 00:00:00 UTC to that moment. Choose your date and time in the generator and it shows the number. In code, use Math.floor(Date.now() / 1000) in JavaScript, int(time.time()) in Python, or date +%s on Linux for the current time.
Why is my Discord timestamp showing as text?
The code is probably not in the right format. It must look like <t:1791580380:F>, with angle brackets, no spaces and a colon before the style letter. Check that you did not paste it inside a code block, because Discord does not convert timestamps inside code formatting.
What is the relative timestamp in Discord?
Relative time, written with the style letter R, shows how far a moment is from now, for example in 2 hours, or 3 days ago. Discord keeps it updated as time passes, so it works as a live countdown for events, giveaways and deadlines without editing the message.
Can I use timestamps in bots and embeds?
Yes, in message text and in many places where Discord shows formatted text, such as embed descriptions. Bots build them by taking a Unix time in seconds and adding the code around it. Test where you post them, because some fields, such as embed titles, may not display them.
Is the generator free, and is my data safe?
Yes, it is free, with no sign in. It runs in your browser, so the dates you pick are not sent to a server or stored. It does not connect to your Discord account, and it only creates text that you copy and paste into Discord yourself.
Related Free Tools
List Randomizer
Shuffle any list into a random order, or pick random items.
Open the toolRandom Name Picker
Pick a winner from a list with a spinning wheel.
Open the toolTime Zone Converter
Compare times across cities and find a meeting time that works.
Open the toolCursive Text Generator
Copy and paste cursive, script and gothic text.
Open the tool