Discord Timestamp Generator
Pick a date and time, then copy the code that shows it in every Discord format. The preview follows your own time zone, and nothing is sent anywhere.
- Private: nothing uploaded
- Free
- No sign-up
Runs in your browser. Your files never leave your device.
Pick a valid date and time to see the seven previews.
Unix timestamp to date
Paste a Unix time in seconds, or a thirteen digit time in milliseconds, to see the date it points to.
Paste a number to convert it the other way.
How to use it
Pick a date and time, or press the button to jump to the next five minute mark.
Or type a relative time such as in 2 hours and press Set from text.
Check the preview beside each of the seven formats. It uses your browser language and time zone.
Press Copy code for the format you need, then paste it into a Discord message.
To go the other way, paste a Unix timestamp into the converter at the bottom.
About this tool
A Discord timestamp is a short code that Discord turns into a date and time for every reader. It looks like this: <t:1764000000:f>. The number is a Unix time, which counts seconds from the start of 1970 in UTC. Discord reads the number and draws the moment in the language and time zone of the person looking at the message. Nothing you type is sent anywhere. Your files never leave your device.
That is why timestamps are useful. Writing 8 PM makes every reader guess which 8 PM you mean. A timestamp removes the guess: a viewer in London and a viewer in Los Angeles see the same moment, each in their own local time.
The seven formats and when to use each
- Short time (:t) shows the clock only, for something later today.
- Long time (:T) adds seconds for an exact start.
- Short date (:d) is a compact numeric date.
- Long date (:D) writes the month out.
- Short date and time (:f) is the default most people want.
- Long date and time (:F) adds the weekday.
- Relative (:R) says in 2 hours or 3 days ago and updates as time passes, which suits a countdown.
Every reader sees their own clock
The code stores an instant, not a zone. There is no London or Karachi setting inside it. When Discord displays the code, the reader device applies its own zone and language. Our previews do the same with the Intl formatting built into your browser. A friend in another country may see a different clock time and date order, but it is the same moment.
Daylight saving is handled at their end, so a summer date shows the summer offset without you changing anything.
Relative times and the five minute default
The picker starts at the next five minute mark, which is easier to read and avoids a time that is already a few seconds in the past. The relative box accepts seconds, minutes, hours, days and weeks. Months and years are left to the date picker because their length changes.
A relative code is live text: in 2 hours becomes 2 hours ago tomorrow. That suits an event and not a fixed announcement, so use the long date for wording that must not change.
The Unix converter
Bots, APIs and logs often give a raw number. Paste it into the converter to see the moment in your own zone and in UTC. Ten digit numbers are read as seconds and thirteen digit numbers as milliseconds, which covers most services. A button sends the result back to the picker.
Limits worth knowing
The code needs its angle brackets and colon intact. A style letter is case sensitive, so :t and :T differ. Discord needs whole seconds, not milliseconds, or the date lands thousands of years away. The preview is close to Discord, but each reader browser chooses the words and date order. Nothing you type here is uploaded or stored.
HonestEdge is not affiliated with Discord.