Discord timestamp generator

Pick a date and time to get Discord timestamp tags in all nine formats. Each reader sees them in their own time zone.

Unix timestamp: 1798761600
  • <t:1798761600:t>Short time
    12:00 AM
  • <t:1798761600:T>Medium time
    12:00:00 AM
  • <t:1798761600:d>Short date
    1/1/27
  • <t:1798761600:D>Long date
    January 1, 2027
  • <t:1798761600:f>Long date, short time (default)
    January 1, 2027 at 12:00 AM
  • <t:1798761600:F>Full date, short time
    Friday, January 1, 2027 at 12:00 AM
  • <t:1798761600:s>Short date, short time
    1/1/27, 12:00 AM
  • <t:1798761600:S>Short date, medium time
    1/1/27, 12:00:00 AM
  • <t:1798761600:R>Relative time
    now

Previews use your browser's language and time zone (UTC). Each Discord user sees the same tag in their own time zone and language.

How to use the timestamp generator

1

Pick the date and time

Use the date and time pickers, or click Use current time.

2

Set the time zone

Choose the time zone your date and time are in. It starts on your own, so for "8 PM my time" you don't need to change anything.

3

Choose a format

Each row shows a format and how it looks to you. Readers see the same moment in their own time zone and language.

4

Copy the tag

Click Copy next to the format you want and paste it into any Discord message, embed or event description.

How Discord timestamps work

Discord timestamps are written as <t:UNIX:STYLE>. UNIX is the number of seconds since 1 January 1970 UTC, and STYLE is an optional letter that sets the format. Discord renders the tag in each reader's time zone and language, so a raid at <t:1798761600:t> shows as 00:00 in London and 7:00 PM the previous day in New York.

These are the styles in Discord's documentation:

StyleFormatExample
tShort time16:20
TMedium time16:20:30
dShort date20/04/2021
DLong dateApril 20, 2021
fLong date, short time (default)April 20, 2021 at 16:20
FFull date, short timeTuesday, April 20, 2021 at 16:20
sShort date, short time20/04/2021, 16:20
SShort date, medium time20/04/2021, 16:20:30
RRelative time4 years ago

The exact output depends on the reader's language settings, so 20/04/2021 may appear as 4/20/2021 for some people.

Choosing a format

  • Events and deadlines: F for the full date, plus R so people see how long is left.
  • Schedules and opening hours: t for times on a known day.
  • Logs and records: f or S when the exact moment matters.

Frequently asked questions

How do Discord timestamps work?

A timestamp tag like <t:1798761600:F> holds a moment as a Unix timestamp in seconds. Discord replaces the tag with a formatted date shown in each reader's own time zone and language, so one message works for everyone.

What do the letters t, T, d, D, f, F, s, S and R mean?

They pick the format: t short time, T medium time with seconds, d short date, D long date, f long date with short time (the default), F full date with weekday, s short date and time, S short date with medium time, and R relative time such as "in 3 days".

What happens if I leave out the format letter?

<t:1798761600> uses the default f style, a long date with a short time.

Does the relative timestamp update by itself?

Yes. An R timestamp such as "in 2 hours" counts up or down live in the Discord client, which makes it handy for event countdowns.

Can bots and webhooks use timestamps?

Yes. The tag works in message text, embed descriptions and field values. Many bots also support placeholders for the current time; in Better Tickets it's {{now}}, so <t:{{now}}:R> shows when a message was sent. See the message variables.