Developer 🔒 Runs in your browser — no data sent to servers

Discord Timestamp Generator

Build the markup Discord renders in each reader's own time zone, in all nine styles at once.

Current Unix Timestamp:
Timestamp → Date
Date → Timestamp

One timestamp or date per line, up to 500.

Generate a Discord Timestamp

Writing "the raid starts at 8 PM" in a server whose members are spread over several continents guarantees that somebody turns up at the wrong hour. Discord's answer is a small piece of markup: give it a Unix time in seconds and a style letter, and every client renders the moment in its own reader's time zone and locale. This page opens the Discord tab of the Timestamp Converter at the current moment, with the code for all nine styles built and ready to copy. For the syntax in full, including what happens when you leave the style letter out, see the guide to Discord timestamps.

Each row of the table shows the style name, the exact code, a preview, and a Copy button. The code is always the same seconds value with a different letter after the colon, so switching style never means converting again.

Code to pasteStyleWhat the reader sees
<t:1735689600:t>Short TimeHours and minutes
<t:1735689600:T>Medium TimeHours, minutes and seconds
<t:1735689600:d>Short DateNumeric date
<t:1735689600:D>Long DateDate with the month written out
<t:1735689600:f>Long Date, Short TimeLong date plus hours and minutes, and the default
<t:1735689600:F>Full Date, Short TimeAdds the day of the week
<t:1735689600:s>Short Date, Short TimeNumeric date plus hours and minutes
<t:1735689600:S>Short Date, Medium TimeNumeric date plus time with seconds
<t:1735689600:R>Relative TimeDistance from now, recalculated on every view

The letters are case-sensitive: d and D are different styles, as are t and T, f and F, s and S. Older guides list only seven styles and leave out s and S.

The preview is yours, not everyone's

The Looks like column is rendered in this page's language and in the zone your device reports, which is a fair sample of what one reader will see and not a promise about the rest. Discord formats a timestamp per reader, so the order of day and month, the separators, the month names and the 12- or 24-hour clock all change from person to person. What every reader shares is the instant, because the number in the middle of the markup identifies one point in time and nothing else.

That is also why R behaves differently from the rest. The other eight styles describe a fixed moment, so their text is stable. R is computed when the message is looked at, which turns it into a live countdown before the event and "3 hours ago" afterwards, with no edit from you.

Getting the seconds right

The date box on this tab is a plain local picker: the moment you choose is read against your own device clock, not against the zone menu at the top of the tool. For an event planned somewhere else, work in the Date → Timestamp pane instead, where the zone menu does apply. Pick the city, enter the local time, convert, and copy the Seconds line into the markup; Date to Timestamp walks through it. The Milliseconds line on that pane is the value to avoid here, since Discord reads the number as seconds.

To check a timestamp someone else posted, strip the markup and paste the number into the left-hand pane, which is what Timestamp to Date opens on. A thirteen-digit number is milliseconds rather than seconds, and milliseconds to date covers that case. For a "posted just now" line, the toolbar keeps a live current Unix timestamp with a Copy button beside it.

Guides