Discord Timestamp Generator

Generate Discord <t:...> timestamp markup in all styles.

The Discord Timestamp generator turns a date and time into Discord's dynamic timestamp codes such as <t:1700000000:f>. It lists all seven display styles with a preview and a copy button for each. Paste a code into a Discord message and every reader sees the time in their own time zone and language.

What are Discord timestamps?

Discord supports a message markup of the form <t:UNIX:STYLE>. UNIX is a Unix timestamp in seconds, the count of seconds since 1 January 1970 UTC. STYLE is an optional single letter that chooses how the time is displayed. Discord renders the value on each viewer's device using their locale and time zone, so a message announcing an event shows the correct local time for everyone without anyone doing conversions. The styles are t short time, T long time, d short date, D long date, f short date and time, F long date and time with weekday, and R relative, such as in 3 hours or 2 days ago. If you leave out the style, Discord uses the short date and time form. This tool converts the date you pick to the Unix seconds value and builds each code.

How to use Discord Timestamp Generator

  1. Choose Date and Time Pick a Date and a Time. Both start at your current local date and time.
  2. Set Interpret as Choose Local time or UTC depending on how you read the time.
  3. Read the table The Unix timestamp appears, followed by each style with its Preview and Code.
  4. Copy a code Press the copy button on the row you want and paste it into Discord.

Frequently asked questions

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

t short time, T long time, d short date, D long date, f short date and time, F long date and time with weekday, R relative time.

Why does my preview differ from what Discord shows?

The preview here uses an en-US format. Discord formats the time for each reader using their own language and time zone.

What if I omit the style letter?

Discord displays the default short date and time, the same as f.

Does the code include a time zone?

No. A Unix timestamp is a single moment in time, and each viewer's client converts it to their local zone.

Can I use milliseconds?

No. Discord expects seconds, so convert milliseconds to seconds first.

Is my date sent anywhere?

No. The code is built in the page and nothing is sent to a server.