How to Put Time in Discord Chat
A complete guide to Discord timestamp syntax, format flags, DST accuracy, and how to use timestamps in bots — everything you need to post a discord time code that works for every member.
How to Put Time in Discord Chat
Step 1 — Get the Unix timestamp. Convert your event date and timezone to a Unix epoch integer (seconds since 1 Jan 1970 UTC).
Step 2 — Choose a discord time format flag. Wrap the number in Discord's tag syntax: <t:UNIX_SECONDS:FLAG>.
Step 3 — Paste into Discord and send. Paste the tag into any Discord message box and press Enter. Discord renders it immediately for every viewer in their own local timezone.
The Anatomy of a Discord Timestamp
f.Discord Timestamp Format Flags — Complete Reference
Discord supports exactly 7 discord timestamp format flags.
| Flag | Format Name | Discord Preview | Markdown Tag |
|---|---|---|---|
| :t | Short Time | 9:01 AM | <t:1726257000:t> |
| :T | Long Time | 9:01:00 AM | <t:1726257000:T> |
| :d | Short Date | 11/28/2026 | <t:1726257000:d> |
| :D | Long Date | November 28, 2026 | <t:1726257000:D> |
| :f | Short Date / Time | November 28, 2026 9:01 AM | <t:1726257000:f> |
| :F | Long Date / Time | Wednesday, November 28, 2026 9:01 AM | <t:1726257000:F> |
| :R | Relative Time | in 2 hours / 3 days ago | <t:1726257000:R> |
Why Fixed Abbreviations Cause 1-Hour Errors
The most common complaint when scheduling Discord events is: "My announcement was scheduled for 8 PM, but members saw 7 PM or 9 PM!"
This error happens because people often use static acronyms like EST or PST. During Daylight Saving Time, these regions switch to EDT and PDT. If you convert against "EST" in July, you are off by exactly 1 hour.
Using Timestamps in Discord.js & Discord.py
import { time, TimestampStyles } from 'discord.js';
const eventDate = new Date('2026-11-28T18:00:00Z');
// Using discord.js time helper:
const relative = time(eventDate, TimestampStyles.RelativeTime);
// Or standard template literal:
const epochSec = Math.floor(eventDate.getTime() / 1000);
const msg = `Event begins in <t:${epochSec}:R>!`;from datetime import datetime, timezone
import discord
from discord.utils import format_dt
dt = datetime(2026, 11, 28, 18, 0, tzinfo=timezone.utc)
# Using format_dt helper:
relative_str = format_dt(dt, style='R')
# Or raw Unix integer:
epoch = int(dt.timestamp())
await ctx.send(f"Event starts <t:{epoch}:R>!")Frequently Asked Questions About Discord Timestamps
Learn how dynamic timestamps work in Discord, why timezones cause one-hour offsets, and how to format markdown tags for messages and bot embeds.
What is a Discord timestamp?
A Discord timestamp is a dynamic markdown code formatted as <t:UNIX_TIMESTAMP:FLAG> (for example, <t:1726704000:R>). Unlike static text like "8:00 PM EST", Discord automatically converts this dynamic code on each member's device to display in their own local time and clock format (12-hour or 24-hour).
How to make a Discord timestamp?
To make a Discord timestamp: 1. Select your target date, time, and timezone in our free generator above. 2. Choose your preferred display style format (such as Relative countdown :R or Long Date/Time :F). 3. Click the Copy button next to the generated markdown tag. 4. Paste the tag (e.g. <t:1726704000:F>) directly into any Discord message, announcement, or bot embed.
How do Discord timestamps work?
Discord timestamps work by encoding date and time into a single global standard: Unix epoch time (the number of elapsed seconds since January 1, 1970 UTC). When you send a timestamp code in chat, Discord's desktop, mobile, and web apps read this universal number and render it locally using the viewer's device operating system clock and timezone settings.
What is a Discord timestamp converter?
A Discord timestamp converter is a web tool that translates human-readable calendar dates, times, and regional timezones into Discord-compliant Unix epoch tags (<t:TIMESTAMP:STYLE>), and vice versa. It eliminates the need for manual timezone conversions and Unix math when scheduling events across global communities.
How to use a Discord time converter?
To use our Discord time converter: 1. Enter your event date and time using either the interactive picker or the natural language box (e.g., "tomorrow 8pm" or "in 2 hours"). 2. Select your event's timezone (or let auto-detection select your current zone). 3. Browse the 7 available Discord timestamp styles in the results table. 4. Click Copy on your chosen format and paste it into Discord.
What timezone does Discord use?
Discord's internal servers operate entirely in Coordinated Universal Time (UTC), while the Discord app on each user's device displays timestamps using their device's local system timezone. Discord does not lock you into a single static timezone like PST or EST; it dynamically adjusts for every individual viewer based on their computer or smartphone clock.
How to create a Discord timestamp for a specific timezone?
To create a timestamp for a specific timezone: 1. In our converter, click the Timezone selector and search for the target city or IANA zone (such as America/New_York, Europe/London, Asia/Tokyo, or UTC). 2. Set the event's local time in that chosen timezone. 3. Copy the resulting code. When posted in Discord, it will seamlessly adjust for users in all other timezones without any confusion.
How does Discord automatically convert time zones?
Discord achieves automatic conversion through client-side rendering of Unix epoch seconds. Because a Unix timestamp represents one exact, universal moment in time across the entire world, Discord's client app queries the user's operating system (Windows, macOS, iOS, Android, Linux) for its local timezone offset and DST rules, then displays the corresponding local hours and minutes automatically.
What is the Discord timestamp format?
The Discord timestamp syntax is <t:TIMESTAMP:FLAG>, where TIMESTAMP is a 10-digit Unix epoch time in seconds, and FLAG is an optional 1-letter style code: :t (Short Time), :T (Long Time), :d (Short Date), :D (Long Date), :f (Short Date/Time, default), :F (Long Date/Time with weekday), and :R (Relative countdown timer).
How to use Discord timestamp codes?
To use Discord timestamp codes, simply copy any valid <t:1726704000:style> tag and paste it into a Discord text channel, direct message, forum post, event description, or bot webhook. You can mix timestamp codes naturally with standard text, bold formatting, and emojis (for example: "Event starts at <t:1726704000:F> (<t:1726704000:R>)").
How to create a relative timestamp in Discord?
To create a relative countdown timestamp in Discord, append the :R flag to your timestamp tag: <t:UNIX_TIMESTAMP:R>. In Discord chat, this renders as an active, auto-updating timer such as "in 15 minutes", "in 3 days", or "5 minutes ago". Users can also hover over the relative badge on desktop to view the full exact calendar date and time.
How to make Discord show the correct local time for everyone?
To make Discord show the correct local time for everyone in your server, always share dates using dynamic timestamp codes (<t:...>) instead of typing static time strings like "8 PM EST". Because dynamic timestamps compute on the viewer's device, every server member in the US, Europe, Asia, and worldwide will see the exact equivalent hour in their own local time automatically.
Why is my Discord timestamp showing the wrong time?
If your timestamp displays the wrong time, the most common reasons are: 1. Daylight Saving Time (DST) discrepancy: Using static abbreviations (like EST instead of EDT) causes a 1-hour error; using our IANA-based tool prevents this. 2. Incorrect device clock: Discord relies on the viewer's device clock and timezone setting. 3. Milliseconds instead of seconds: Passing a 13-digit JavaScript millisecond number instead of a 10-digit Unix second number breaks Discord's rendering.