How to use Discord timestamps

A practical guide to Discord dates, timezones, and relative time.

Choose the right Discord time tool

Start with the task you need to complete. Each tool creates a code to paste into a Discord message; none posts the message for you.

The small code that solves the timezone problem

A Discord timestamp has three parts: t identifies a timestamp, the number is Unix time in seconds, and the final letter chooses the display format.

<t:1792521000:f>

Example: this code represents October 20, 2026 at 18:30 UTC.

From event time to Discord message

Start with the timezone where the event happens. You can show the same instant in more than one Discord style without changing its Unix seconds.

  1. Enter the event time. Choose the calendar date, local clock time, and timezone where the event actually takes place.
  2. Choose the display. Use f or F for an announcement. Use R when readers also need a relative label such as “in 2 hours”.
  3. Paste and check. Copy the complete timestamp code into an ordinary Discord message. Check the displayed time before posting it to your community.

Open the timestamp generator

Choose the right format

Use f for a date and time, F when the weekday helps, or R for a countdown. The t and T formats only show time. The d and D formats only show the date. The s and S formats combine a compact date with time.

FormatDisplay format / Example in UTC / Code
tShort time6:30 PM<t:1792521000:t>
TTime with seconds6:30:00 PM<t:1792521000:T>
dShort date10/20/2026<t:1792521000:d>
DLong dateOctober 20, 2026<t:1792521000:D>
fDate and timeOctober 20, 2026 at 6:30 PM<t:1792521000:f>
FFull date and timeTuesday, October 20, 2026 at 6:30 PM<t:1792521000:F>
sCompact date and time10/20/2026, 6:30 PM<t:1792521000:s>
SCompact date and time with seconds10/20/2026, 6:30:00 PM<t:1792521000:S>
RRelative timein 2 hours<t:1792521000:R>

Examples use English and UTC for October 20, 2026 at 18:30 UTC. Relative time is shown as if viewed two hours before the event and changes as time passes. Discord uses each reader’s timezone and language.

Your event time and their local time

Set the event’s source timezone before copying. A reader in Tokyo and a reader in New York receive the same instant, displayed in their own local time. Changing the preview timezone does not change the generated code.

Try the Discord timezone converter · Try the Discord countdown timer

If the timestamp looks wrong

The hour is wrong

Recheck the event’s source timezone. Changing only the preview timezone does not change the instant. During an autumn daylight-saving overlap, choose the intended first or second occurrence.

Another city shows a different date

The same instant can fall on the next calendar day elsewhere. Preview a second timezone before publishing an event announcement.

The code does not render

Discord expects Unix seconds, not milliseconds. Keep the full <t:seconds:style> syntax, including angle brackets and a supported style letter.

Check a second timezone

Know what it does

Timestamps display a time. They do not schedule messages, create server events, send notifications, or supply a live second-by-second countdown. This tool never needs your Discord token.

Discord timestamp format questions

What is a Discord time code?

It is a timestamp written as <t:UNIX:STYLE>. UNIX is a time in seconds, and STYLE is one of Discord’s display letters. Copy the whole code, including angle brackets, into a message.

How do I set a date in a Discord message?

Choose the date, time, and source timezone in the generator. Use d or D for a date-only display, or f or F when readers also need the time. Paste the complete code into a message.

Why does a Discord timestamp show as plain text?

Check that the code has angle brackets, colons, Unix seconds rather than milliseconds, and a supported style letter. Copying the complete code from the generator helps avoid typing mistakes.

Make a code with the Discord timestamp generator.

Create a timestamp

Read the official Discord reference