Discord Timestamp Generator

Turn a date, time, and time zone into a Discord timestamp. Preview all nine formats and copy the code you want to paste into chat.

Set the event time

Changing the event time zone keeps the date and clock time you entered.

Unix seconds—

Discord timestamp formats

——
——
——
——
——
——
——
——
——

Discord preview

Preview in your local time zone

Event organizer
—

Browser-based approximation. The display in Discord depends on each viewer’s time zone, language, and client.

How to Use Discord Timestamps

  1. Set the event time. Enter the date and clock time as they appear on the event schedule, then choose the time zone where the event takes place.
  2. Copy a format. Pick a style from the list and check its local preview. Copy the Discord code for that row or use Copy selected.
  3. Send it in Discord. Paste the code into the message body and send it. Check the posted message in the channel where you plan to use it.

Discord Timestamp Formats

A Discord timestamp wraps Unix seconds and an optional format letter in angle brackets. For example, <t:1782950400:F> includes the weekday. Discord uses f when you omit the format letter, as in <t:1782950400>. The generator starts with F selected so you can preview the weekday.

t Short time
Hours and minutes.
T Medium time
Hours, minutes, and seconds.
d Short date
A compact numeric date.
D Long date
The date with the month written out.
f Long date, short time
A written-out date with hours and minutes. The Discord default.
F Full date, short time
The weekday, written-out date, hours, and minutes.
s Short date, short time
A numeric date with hours and minutes.
S Short date, medium time
A numeric date with hours, minutes, and seconds.
R Relative time
Elapsed or remaining time measured from the moment of viewing.

Discord message formatting reference

How Discord Time Zones Work

The event time zone tells the generator which moment your clock reading refers to. If you enter 8:00 PM for an event in New York, the generator calculates that moment in New York. Discord displays the same moment in each reader’s time zone and language.

When clocks move forward, some local times are skipped. When they move back, some local times occur twice. If the generator flags either case, choose a time that occurs once on the event date.

Frequently Asked Questions

What syntax does Discord use for timestamps?

Use <t:SECONDS:STYLE>, replacing SECONDS with a whole Unix timestamp and STYLE with one of the nine letters above. The shorter <t:SECONDS> form uses the f style.

Does Discord use Unix seconds or milliseconds?

Discord timestamps use whole seconds since January 1, 1970 at 00:00 UTC. Divide a JavaScript millisecond timestamp by 1,000 and round down before inserting it into a tag.

What does the R format show?

R shows a relative time, such as “in 2 hours” or “3 days ago.” Its wording changes as the event approaches and passes. The code keeps pointing to the same instant.

Why is my timestamp showing as plain text?

Check that you pasted the complete tag with its angle brackets and that you used the correct letter case. Paste it into the message body outside inline code or a code block. Check the result in the channel or Discord surface where you need it.

Do I need to sign in to generate a timestamp?

The generator is free to use without an account. Your browser calculates the timestamp from the values you enter.

Why does my preview look different in Discord?

The preview uses your browser’s language and time zone. Discord may use different settings and formatting conventions, so wording, punctuation, or clock notation can differ.