Discord Relative Timestamp

The Discord relative timestamp is one of the most useful formatting options available in Discord messages. Using the R format flag, you can create dynamic timestamps that automatically display as phrases like "in 2 hours", "3 days ago", or "in 5 minutes" rather than a fixed date and time. Every viewer sees the same countdown or elapsed time, and it updates in real time as seconds tick by. This makes the relative timestamp ideal for event countdowns, deadlines, and anything where "how long from now" matters more than the exact clock time.

Relative Timestamp Simulator

<t:0:R>
in 1 hour

Quick Examples (Live)

5 minutes from now
1 hour from now
Tomorrow (24 hours)
Last week (-7 days)

What Is a Discord Relative Timestamp?

A Discord relative timestamp is created by appending the R format flag to Discord's timestamp syntax: <t:UNIX:R>. Instead of displaying a fixed date like "March 6, 2026" or a clock time like "3:45 PM", the relative format shows how far away the target moment is from the present. If the target is in the future, Discord renders text such as "in 30 minutes" or "in 2 days". If the target has already passed, you will see "5 minutes ago" or "3 hours ago".

The UNIX portion is a standard Unix epoch timestamp, which is the number of seconds that have elapsed since January 1, 1970 (UTC). Discord converts this number into a local timestamp for every viewer, then calculates the difference between that moment and the current time to produce the relative phrase. Because the underlying value is timezone-neutral, the relative text is accurate for everyone regardless of where they are in the world.

How Relative Timestamps Update

Discord relative timestamps are dynamic. They do not freeze at the moment you send the message. Instead, the Discord client continuously recalculates the difference and updates the displayed text. The progression follows a natural pattern:

This means a timestamp you send today will still be accurate years later. A message saying "Event starts <t:1735689600:R>" will count down to the event, then seamlessly switch to "X time ago" once it passes, with no action required from you.

Relative vs. Absolute Timestamps

Discord supports seven timestamp format flags in total. The relative format (R) stands apart from the other six, which all display a fixed date, time, or combination of both. Here is how they compare:

Flag Name Example Output
t Short time 3:45 PM
T Long time 3:45:30 PM
d Short date 03/06/2026
D Long date March 6, 2026
f Long date + short time March 6, 2026 3:45 PM
F Full date + time Friday, March 6, 2026 3:45 PM
R Relative in 2 hours / 3 days ago

Use absolute formats (t through F) when your audience needs to know the exact date or clock time of an event. Use the relative format (R) when the distance from the present moment is more meaningful, for example when counting down to a livestream or indicating how long ago something happened. You can even include both in the same message: "The meeting is on <t:UNIX:F> (<t:UNIX:R>)" gives readers both the precise schedule and an at-a-glance countdown. For a deeper dive into every format option, see the Discord timestamp format guide.

Use Cases for Relative Timestamps

The relative format shines in situations where context depends on timing rather than a specific clock reading:

Creating Relative Timestamps

Building a Discord relative timestamp takes three steps:

  1. Determine the target moment. Identify the exact date and time you want to reference, in any timezone.
  2. Convert to a Unix timestamp. Translate that moment into the number of seconds since January 1, 1970 00:00:00 UTC. You can use our Discord Timestamp Generator to do this instantly, or calculate it manually with JavaScript: Math.floor(new Date('2026-03-06T15:00:00').getTime() / 1000).
  3. Wrap it in Discord syntax. Place the Unix value inside the tag with the R flag: <t:1772992800:R>.

Paste the resulting code into any Discord message, and every reader will see a live-updating relative phrase. The code itself appears as plain text while you type, but Discord renders it as a styled timestamp the moment the message is sent.

Timezone Adaptation

One of the most powerful features of Discord timestamps is that they adapt to every viewer's local timezone. This is not unique to the relative format; all seven format flags share this behavior. When you send <t:1772992800:f>, a user in New York sees the time displayed in Eastern Time, while a user in Tokyo sees it in Japan Standard Time. The underlying Unix timestamp is a single, unambiguous point in time, and Discord's client handles the conversion silently.

For the relative format specifically, timezone adaptation is even simpler to understand: since the output is a duration ("in 2 hours") rather than a clock reading, there is nothing to convert. Two hours from now is two hours from now everywhere on Earth. This makes the R format the most universally clear option when you want everyone to understand the timing at a glance, without any possibility of timezone confusion.

This universal timestamp behavior is what makes Discord timestamps so valuable for international communities. Whether your server spans two timezones or twenty, a single dynamic timestamp in your message keeps everyone on the same page.

Tips for Relative Timestamps

Using Relative Timestamps as Countdown Timers

One of the most popular applications of the R format is creating countdown timers inside Discord. When you set the Unix timestamp to a moment in the future, Discord automatically renders a live countdown that ticks down in real time. Text like "in 4 hours" or "in 23 minutes" updates continuously for every user in the channel until the target moment arrives, at which point it seamlessly transitions to "a few seconds ago" and continues counting up.

To create a countdown, simply use the Discord Timestamp Generator to select a future date and time, copy the <t:UNIX:R> code, and paste it into your message. Common use cases include:

Pro tip: For important events, combine the countdown with an absolute format so users see both the exact date and how much time remains. For example: <t:UNIX:F> (<t:UNIX:R>) renders as something like "Friday, March 6, 2026 3:00 PM (in 3 days)". For a complete walkthrough of all timestamp options, see our guide on how to use Discord timestamps, or use the Discord Timestamp Converter to decode existing timestamp codes.