No uploadNo upload, everything runs on your device
Discord Timestamp Generator
Build <t:…> Discord timestamps that show in every reader's local time. Nothing is uploaded.
The Discord Timestamp Generator turns one date into all 7 <t:…> styles (t, T, d, D, f, F, R) from Unix seconds (1700000000 is 2023-11-14T22:13:20Z), and Discord renders each code in the reader's own timezone.
Date and time
Unix seconds
Waiting for a date
Discord codesPreviews are approximate
tShort time
Waiting for a date
TLong time
Waiting for a date
dShort date
Waiting for a date
DLong date
Waiting for a date
fShort date and time (default)
Waiting for a date
FLong date and time
Waiting for a date
RRelative
Waiting for a date
Pick a date and timeDiscord renders each code in the reader's own timezone and language·Previews use this browser·Nothing leaves this tab
What does the Discord Timestamp do?
A Discord timestamp is a short code like <t:1700000000:F> that you paste into a message. Discord replaces it with a date or time, and every reader sees it in their own timezone and language: someone in Tokyo reads 07:13, someone in New York reads 5:13 PM, and both are right. The number inside is Unix time in seconds, the letter after it picks one of 7 display styles. This tool turns a date you pick into all 7 codes, previews each one, and decodes codes you already have.
How does the Discord Timestamp work?
Pick a date and time in the field at the top; it starts at the current minute in your own timezone. The tool converts it to Unix seconds with the browser's Date object and builds the 7 codes: t, T, d, D, f, F and R. Press Copy on the row you want and paste the code straight into a Discord message. The preview column uses the browser's Intl date formatting, so it approximates what you will see; other readers see their own version. The decoder at the bottom reads a pasted <t:…> code or a bare number and shows the moment in your local time and in UTC. Everything runs in this tab.
Does this upload my text?
No. This page never sends your input to a server. Formatting, decoding and hashing all run in this tab, on this device. How that works.
Frequently asked questions
How do I make a timestamp in Discord?
Pick the date and time above, copy one of the codes such as <t:1700000000:f>, and paste it into your message. Discord swaps the code for a formatted date when the message is sent. There is no button for this inside Discord itself, which is why generators like this one exist.
What do t, T, d, D, f, F and R mean?
They are the 7 display styles. t is a short time (16:20), T a long time with seconds (16:20:30), d a short numeric date (20/04/2021), D a long date (20 April 2021), f a short date and time (20 April 2021 16:20), F a long date and time with the weekday (Tuesday, 20 April 2021 16:20), and R a relative time such as 2 months ago or in 3 hours. Leaving the letter out gives you f.
Why does the time look different for my friend?
That is the point of the feature. The code only carries an instant in Unix seconds; each Discord client renders it in the reader's own timezone and language. A meeting at 18:00 in Amsterdam is 12:00 PM in New York, and both readers see their local version without any conversion on your side.
Do Discord timestamps work on mobile?
Yes. The rendering is done by the Discord client, and the iOS, Android, desktop and browser clients all support the <t:…> syntax. Hovering or long-pressing the rendered time shows the full date.
Why does Discord show Invalid Date?
Almost always because the number is in milliseconds instead of seconds. JavaScript's Date.now() gives 13 digits; Discord wants 10 (for any date between 2001 and 2286). Divide by 1000. The other common cause is a typo in the brackets, such as a missing colon, a space, or a style letter that is not one of t, T, d, D, f, F, R. Paste the code into the decoder above and it will point at the problem.
Is my date sent anywhere?
No. The conversion uses the browser's own Date and Intl APIs, and the copy button writes to your clipboard. This page makes no network request with your input.