MCTools

Discord Timestamp Generator

Pick a time (or just type "next Friday 8pm EST"), then copy a <t:1700000000:R> code. Discord shows it in every reader's own time zone — perfect for server events, raids and restarts.

All 7 Discord formats — click to copy

ms: 1700000000000

Share / link to this tool:

Discord timestamp formats

Every tag is <t:UNIX:STYLE>. Examples below use 1700000000 (14 Nov 2023, 22:13 UTC) as seen by a US-English reader in New York:

StyleCodeShows as
Short time<t:1700000000:t>5:13 PM
Long time<t:1700000000:T>5:13:20 PM
Short date<t:1700000000:d>11/14/2023
Long date<t:1700000000:D>November 14, 2023
Short date & time (default)<t:1700000000:f>November 14, 2023 5:13 PM
Long date & time<t:1700000000:F>Tuesday, November 14, 2023 5:13 PM
Relative<t:1700000000:R>relative, e.g. "3 years ago"

Leave the letter off (<t:1700000000>) and Discord uses :f. Exact wording follows the reader's Discord language — a UK reader sees 14 November 2023 22:13 for :f.

Using timestamps on a Minecraft server Discord

  • Event announcements — 🏗️ Build contest starts <t:1700000000:F> (<t:1700000000:R>). Players see the full local date plus a live countdown.
  • Restarts & maintenance — Server restarting <t:1700000000:R> in your status channel; it flips to "x minutes ago" once done.
  • Map resets & season launches — pin a message with :D for the date and :t for the time so international players stop asking "what time is that for me?".
  • Whitelist / application deadlines — Applications close <t:1700000000:f>.

Tip: style your in-game MOTD with the matching Minecraft color codes so the event shows up on the server list too.

Discord timestamps in bots (discord.js & discord.py)

// discord.js v14
const { time, TimestampStyles } = require("discord.js");
const unix = Math.floor(Date.now() / 1000) + 3600; // in 1 hour

await channel.send(`Server restart ${time(unix, TimestampStyles.RelativeTime)}`);
// → "Server restart <t:1700003600:R>"
// or just build the string yourself:
const tag = `<t:${unix}:F>`;
# discord.py 2.x
import discord, datetime as dt

when = discord.utils.utcnow() + dt.timedelta(hours=1)
await channel.send(f"Server restart {discord.utils.format_dt(when, 'R')}")
# → "Server restart <t:1700003600:R>"
# or: f"<t:{int(when.timestamp())}:F>"

Both libraries only build the <t:…> string — Discord does the rendering, so the bot never needs to know the reader's time zone.

FAQ

How do Discord timestamps work?

A Discord timestamp is a tag like <t:1700000000:F>. The number is a Unix time (seconds since 1 Jan 1970 UTC) and the letter picks the style. Discord swaps the tag for a date shown in each reader's own time zone and language, so everyone sees the right local time.

Why does the time look different for my friends?

That's the point: Discord renders the same instant in every viewer's local time zone. 8:00 PM in New York shows as 1:00 AM for a London player and 9:00 AM for Tokyo. If someone sees the wrong time, their device time zone is set incorrectly.

What is a Unix timestamp?

The number of seconds since 00:00:00 UTC on 1 January 1970. It's the same everywhere on Earth, which is why Discord uses it. Some tools give milliseconds (13 digits) — divide by 1000 for Discord; the decoder on this page does it for you.

What's the Discord time format letter list?

t = short time, T = long time, d = short date, D = long date, f = short date & time (the default if you leave the letter out), F = long date & time with weekday, R = relative ("in 2 hours"). <t:1700000000> with no letter is the same as :f.

Is this a HammerTime alternative?

Yes. Like hammertime it builds every format, but you can also type times in plain English ("in 2 hours", "next Friday 8pm EST"), search any time zone, paste a <t:…> tag or Unix number to decode it, copy all 7 at once, and share a link that locks the exact time with ?t=.

Do Discord timestamps work in embeds, bots and channel names?

They render in message text, embed descriptions and embed field values. They do not render in embed titles, footers, author names, channel names or nicknames — those show the raw <t:…> text.

Does the relative :R format update live?

Yes — Discord refreshes :R while the message is on screen, so "in 5 minutes" counts down to "5 minutes ago" without editing the message. That makes it ideal for event countdowns.

More Minecraft tools