Discord Timestamp Guide: How to Format and Generate Times

Master Discord Timestamps with this complete guide. Learn how to format Unix timestamps dynamically, avoid common formatting mistakes, and use Discord times for events.

What is a Discord Timestamp?

A Discord timestamp is a powerful markdown feature that allows users to share a specific date and time that automatically adjusts to the viewer's local time zone.

Instead of typing "Server maintenance begins at 5 PM EST," which leaves global users confused and calculating offsets, you use a special syntax. The Discord app intercepts this code and renders it as exactly the correct local time for everyone reading it, whether they are in London, Tokyo, or New York.

Why Discord Uses Timestamps

Discord communities are inherently global. Attempting to schedule gaming sessions, live streams, or AMA events using a single timezone (like PST or UTC) often results in missed events and frustration.

By leveraging the underlying Unix Timestamp system, Discord shifts the burden of calculation away from the user and onto the client application. The time is transmitted as a universal absolute (seconds since the Epoch) and only translated into local human-readable text at the exact moment it is displayed on screen.

Timestamp Syntax

To format a timestamp manually, you need to use a specific markdown syntax. It looks like this:

<t:UNIX_TIMESTAMP:FORMAT>
  • UNIX_TIMESTAMP is the standard 10-digit integer representing seconds since January 1, 1970.
  • FORMAT is a single, optional, case-sensitive letter that tells Discord how to display the date visually.

Format Examples

If we use the timestamp 1672531199, here is how the different format modifiers change the visual output:

LetterSyntax ExampleVisual Render
t<t:1672531199:t>16:20
T<t:1672531199:T>16:20:30
d<t:1672531199:d>01/01/2023
D<t:1672531199:D>January 1, 2023
f (Default)<t:1672531199:f>January 1, 2023 16:20
F<t:1672531199:F>Sunday, January 1, 2023 16:20
R<t:1672531199:R>in 5 minutes (Live Countdown)

For a full, deep dive into these exact parameters, read our dedicated Discord Timestamp Formats guide.

Common Formatting Mistakes

  • Using Milliseconds: The most frequent error. If you grab a 13-digit Unix timestamp from a Unix Timestamp Converter and paste it into Discord, it will fail or show a date far in the future. Discord only accepts 10-digit seconds.
  • Wrong Case for Letters: Formatting letters are case-sensitive. Using r instead of R will not render a relative time countdown; it will likely break the syntax.
  • Missing Colons: The syntax requires exactly two colons: one after the t, and one before the format letter.

Real Use Cases

Community managers and bot developers utilize this feature extensively. Some real-world applications include:

  • Raid & Event Scheduling: Ensuring a guild spanning the US, EU, and Asia logs in at the exact same moment.
  • Live Giveaways: Utilizing the R modifier to show exactly how much time is remaining before a contest lock.
  • Ban/Mute Logs: Moderation bots use Discord timestamps so international staff members know exactly when a user's timeout expires.

See more detailed examples in our Discord Timestamp Examples repository.

Discord Timestamp Cheat Sheet

Want the easiest way to generate these codes without memorizing syntax?

Generate Timestamps Instantly

Use our interactive UI to pick a date and copy the exact Discord markdown code.

Open Discord Timestamp Generator

Frequently Asked Questions

What is a Discord timestamp?

A Discord timestamp is a special markdown code using Unix time that dynamically updates to display the correct local time and date for the person reading it on Discord.

How do I create a Discord timestamp?

To create one, you need a Unix timestamp integer (in seconds) and wrap it in syntax like <t:TIMESTAMP:FORMAT>. Or, you can easily use our Discord Timestamp Generator tool.

What does <t:1672531199:R> do in Discord?

The 'R' format modifier stands for Relative Time. It will render a live countdown or elapsed time, such as 'in 5 minutes' or '2 hours ago'.

Do Discord timestamps adjust for Daylight Saving Time?

Yes, because they rely on the viewing user's local operating system settings, Discord timestamps automatically handle Daylight Saving Time offsets.

Why is my Discord timestamp showing the year 1970?

This usually happens when you use a 13-digit millisecond timestamp (like from JavaScript) instead of a 10-digit second timestamp. Discord only supports 10-digit Unix timestamps.

Can Discord bots send dynamic timestamps?

Absolutely. Bots can generate and embed <t:unix_time:format> strings in messages and embeds, making event announcements accessible to international server members.

What happens if I forget the format letter?

If you only write <t:TIMESTAMP>, Discord will default to the 'f' format, which displays a short date and time like 'January 1, 2023 12:00 PM'.

Are Discord timestamps supported on mobile?

Yes, they are natively supported on the iOS and Android Discord applications and render perfectly based on the mobile device's local clock.

How do I convert a calendar date to a Discord timestamp?

You first convert the calendar date to a standard Unix epoch integer using an ISO 8601 Converter or a Unix Timestamp Converter, then apply the Discord markdown syntax.

Can I use Discord timestamps in server names or channel topics?

They work perfectly in channel topics. However, Discord timestamps cannot be parsed dynamically inside server names or channel names.

Is there a limit to how far in the future a timestamp can be?

Discord timestamps are bound by the standard 64-bit integer limits, meaning you can comfortably schedule timestamps for thousands of years into the future without issue.

What is the 'Long Date' format in Discord?

The Long Date format is triggered by the 'D' modifier. It outputs a fully spelled-out date like 'October 14, 2023' without the time attached.

Can I combine relative and exact times?

Yes, a popular community best practice is to send both together: 'Event starts at <t:TIME:F> (<t:TIME:R>)'.

Does Discord cache timestamp renders?

No, the rendering is executed on the client-side at runtime, meaning the text updates locally without polling Discord's servers.

Is the Unix time used in Discord strictly UTC?

Yes, the numerical integer representing the time inside the tag must always represent the exact UTC second.

Explore More