Discord Timestamps

Pick a date and time and copy any Discord timestamp tag, with a preview of what each style shows and a decoder for pasted tags and snowflake ids.

TagsPreviews use your locale and time zone
  • Short timeHours and minutes
    ...<t:0000000000:t>
  • Long timeHours, minutes and seconds
    ...<t:0000000000:T>
  • Short dateNumeric date
    ...<t:0000000000:d>
  • Long dateDate with the month spelled out
    ...<t:0000000000:D>
  • Short date and timeThe default when no style is given
    ...<t:0000000000:f>
  • Long date and timeAdds the weekday
    ...<t:0000000000:F>
  • Compact date and timeNumeric date with the time (newer clients)
    ...<t:0000000000:s>
  • Compact date and time with secondsNumeric date with seconds (newer clients)
    ...<t:0000000000:S>
  • RelativeCounts down or up, and keeps updating
    ...<t:0000000000:R>

Related tools

What it does

Generates Discord's <t:UNIX:style> timestamp tags from a date and time you pick. Every style is listed at once (short and long time, short and long date, the date and time combinations, the newer compact forms, and relative), each with the tag to paste and a preview of what Discord shows for it in your locale and time zone. The relative preview keeps counting as you watch. A second box works in reverse: paste a tag, a snowflake id from a message or user, or a unix time, and it tells you the moment it refers to.

How to use it

Set the date and time with the picker, press Now, or nudge it by an hour, a day, or a week. Press Copy next to the style you want and paste the tag straight into a Discord message; Discord renders it in each reader's own time zone. To read an existing tag or id, paste it into the lower box, and press Make tags for this time to load that moment into the picker. The chosen time is kept in the link as unix seconds, so the URL can be shared.

Why this one

Other Discord timestamp generators stop at a calendar widget behind ads and rarely show what the tag will look like. This one previews every style side by side, includes the newer compact styles, reads tags and snowflake ids back into dates, still has a plain /api endpoint for scripts, and runs entirely in your browser, so your files and inputs never leave your device.

FAQ
Why does one tag show a different time to each reader?
The tag <t:UNIX:F> holds a single unix timestamp and nothing else. Discord's client turns it into the reader's own time zone and language when it draws the message, so nobody has to do time zone math and nobody sees the wrong hour. The previews here use your browser's locale and time zone, which is what your own Discord client would show; relative previews are written in English.
Which style should I use for a countdown?
Use the relative style, R. It reads as in 2 hours or 3 days ago and keeps updating for everyone looking at the message. A common pattern is to pair it with a full date, for example the F tag followed by the R tag in parentheses, so readers get both the exact time and the countdown.
What is a snowflake id and why can this read a time from it?
Every Discord message, user, channel, and server has a numeric id called a snowflake. Its top 42 bits are the number of milliseconds since the first second of 2015, so the creation time can be recovered by shifting the id right by 22 bits and adding that starting point. Paste any 17 to 20 digit id into the lower box to see when it was created.

Keyboard shortcuts: press ? anywhere on this page to see them.