Discord Timestamp: One Code, Every Time Zone
Type one short code and a member in Karachi, London, and Tokyo each sees the right local time. The number inside it decides whether it works: seconds, not milliseconds, built in the time zone you meant.
Writing "the raid starts at 8 PM EST" in a server with members on several continents invites confusion. Someone reads 8 PM as their own local time, someone else does the conversion and gets it wrong by an hour, and a third arrives a day late because the event fell after midnight where they live. A Discord timestamp removes the conversion from the chat entirely. You post one moment, and each reader's app writes it out in their own time zone and language. The message never changes; the reading does.
Plain text has a second weakness that a timestamp fixes. "In 3 hours" written as words is stale an hour later, and wrong the next day. The relative style of a timestamp is recalculated whenever the message is viewed, so it stays true without anyone editing it. That is the whole appeal, and it is also where most guides stop. The syntax is short, but the mistakes live in the number, the time zone it was built in, and the places where Discord refuses to render it at all. Our Discord text formatting guide covers the rest of Discord's message codes; this guide stays with timestamps.
What a Discord timestamp is
A timestamp is a tag inside angle brackets, in one of two forms: <t:1618953630> or <t:1618953630:d>. The t: marks it as a timestamp. The number is a Unix timestamp: whole seconds since midnight UTC on 1 January 1970. The optional letter after the second colon picks the display style. Leave the letter out and Discord uses f, the long date with a short time.
The number carries no time zone. That is deliberate. Discord's developer reference states that timestamps are expressed in seconds and display in the user's time zone and locale, so the conversion happens on each reader's device, at the moment they look at the message. A tag holding 1618953630 — 16:20:30 UTC on 20 April 2021, the example Discord's own reference uses — reads as 16:20 to a reader on UTC, 12:20 PM to one in New York, and 21:50 to one in Kolkata. All three are the same moment. The date order, the month names, and the 12- or 24-hour clock follow the reader's language setting, not yours.
All nine styles, with Discord's own examples
Discord's developer reference lists nine styles. Most older guides list seven and leave out s and S, the two compact date-and-time styles. If a guide or generator shows only seven, it predates them. The table uses Discord's own example moment, as a reader on UTC sees it.
| Style | Name in Discord's reference | Example output |
|---|---|---|
| t | Short Time | 16:20 |
| T | Medium Time | 16:20:30 |
| d | Short Date | 20/04/2021 |
| D | Long Date | April 20, 2021 |
| f | Long Date, Short Time (default) | April 20, 2021 at 16:20 |
| F | Full Date, Short Time | Tuesday, April 20, 2021 at 16:20 |
| s | Short Date, Short Time | 20/04/2021, 16:20 |
| S | Short Date, Medium Time | 20/04/2021, 16:20:30 |
| R | Relative Time | 4 years ago |
The letters are case-sensitive, and every pair differs: t drops the seconds that T keeps, d is numeric where D spells the month out, f leaves the weekday off where F adds it, and s has no seconds where S does. For announcements, F is the safest single choice: the weekday catches the slip where an event late on Friday in one country is Saturday morning in another. Pair it with R — Game night starts <t:1798221600:F> (<t:1798221600:R>) — and readers get both the exact moment and how long they have. Test s or S with a message to yourself first: they are the newest pair, and an out-of-date app may show them as plain text while the older seven render.
Four ways to make one
The @time shortcut. Discord's 4 February 2026 patch notes announced a new "@time" command on desktop, for timestamps that had previously needed an external tool. Type @time in the message box, keep typing in plain language — "tomorrow 3pm", "in 2 days" — and pick from the suggestions Discord offers. Discord's 19 November 2026 update then brought @time to mobile. That date matters, because several guides written before it still call @time desktop-only; they are out of date. The shortcut has limits: it inserts one style at a time, it builds from your own time zone, and it only helps inside Discord's own message box, not in a bot or a scheduled post written elsewhere.
A generator site. A timestamp generator takes a date, a time, and a time zone, and returns all nine codes at once with a preview. This is the only method of the four that comfortably handles a time in a zone you are not in — "8 PM New York time" from a phone in Karachi, for example. Pick one whose time zone control lists named zones (America/New_York, Asia/Karachi) rather than a bare offset, for the reason in the next section. Paste the code as plain text, without backticks, and check the preview against the UTC reading the generator shows; if the UTC line is wrong, the zone was wrong, and every reader will see the same wrong moment.
By hand, in code or a terminal. In JavaScript, Math.floor(Date.now() / 1000) gives the current moment in seconds; Date.now() alone gives milliseconds, the most common broken timestamp. In Python, int(time.time()) already returns seconds. In a macOS or Linux terminal, date +%s does the same, and in Windows PowerShell, [DateTimeOffset]::UtcNow.ToUnixTimeSeconds(). For a fixed future moment, build the date with its offset or named zone attached: Date.parse('2026-10-01T18:00:00-04:00') / 1000 is 1790892000, while the same string without an offset is read in the time zone of the machine running the code, which on a hosted bot is often UTC rather than yours. A date-only string is read as midnight UTC.
A bot. HammerTime, the long-running timestamp bot, adds slash commands inside Discord: /at for an exact date and time with a time zone, /in for a moment relative to now, and /ago for one in the past. It suits a server that needs many timestamps. Only add bots you trust, and give them only the permissions they need. Discord's own libraries offer the same in code: discord.js has a time() helper with a TimestampStyles list, and discord.py has discord.utils.format_dt(). Both take a date object and handle the seconds conversion, so the millisecond trap never reaches the message.
The time zone step is where it goes wrong
Discord can localise a correctly built number. It cannot repair a number built in the wrong zone, because the number itself is wrong and every reader inherits the same error. The usual cause is a fixed abbreviation. "EST" is UTC−5, but New York observes daylight saving time for much of the year, when it is UTC−4 under "EDT". Generating a July event against EST bakes an hour of error into the Unix number, and the timestamp is then wrong for everybody. Build against a named zone instead — America/New_York, Europe/London, Asia/Karachi — which resolves daylight saving correctly for the date you are targeting. A fixed offset such as −04:00 is only right for part of the year: New York switched to UTC−5 on 1 November 2026, so the same wall-clock time after that date needs −05:00.
Two clock-change days need a second look. In spring, clocks jump forward, so 2:30 AM on 8 March 2026 never happened in New York; a generator may quietly move it to 3:30 AM or return the wrong hour, and the only defence is checking the UTC line before copying. In autumn, clocks go back, so 1:30 AM on 1 November 2026 happened twice, an hour apart; the codes for the two occurrences differ by 3,600 seconds. If the event sits on either day, say which occurrence you mean, or move it. Build each week from its own date and named zone, not by adding 604,800 seconds to last week's number.
One number shows how the reading shifts. The code 1790892000 is 22:00 UTC on 1 October 2026. A reader in New York sees 6:00 PM that day, one in London sees 11:00 PM, one in Kolkata sees 3:30 AM on 2 October, and one in Tokyo sees 7:00 AM on 2 October. None of them is wrong. If a member reports a time off by a whole day, check the date change first; if it is off by exactly one hour for everyone, the zone at generation was wrong; if it is off for one person only, the fault is on their device.
Where a timestamp renders, and where it stays as code
Timestamps render in ordinary messages, replies, threads, direct messages, and forum posts, on desktop, web, and mobile. Bots and webhooks send the same code in their message text, and it renders inside an embed's description and fields. Hover over a rendered timestamp on desktop, or tap it on a phone, and Discord shows the full date and time, in the F style, whatever style the message used. That tooltip is the quickest check that a code you pasted means the moment you intended.
The code stays as plain text in several places, and guides disagree about two of them, so the honest list separates what is settled from what is not. Settled: usernames, display names, nicknames, and custom statuses show the raw code, as do channel names and thread and forum titles. An embed's title and footer also show it raw; only the description and fields render it. A countdown in a channel name therefore needs a bot that renames the channel on a timer, and Discord rate-limits those renames far more strictly than ordinary messages, so such a countdown only updates every few minutes and never looks live. Disputed: channel topics, where some guides say timestamps render and others say they show as code, and the About Me bio, which is reported to render them but which Discord does not document. Test both in your own server or profile before building an announcement around them, and re-check after an app update. Wrapping a code in backticks or a code block also shows it raw, which is useful when explaining the syntax to other members, and is the first thing to check when a code refuses to render.
The countdown style, and what it cannot do
R is the only style that changes after posting. Every other style is a fixed reading of a fixed moment. R measures the gap between the stored moment and the moment someone views the message, so "in 3 days" becomes "in 5 hours", then "in 10 minutes", then "a few seconds ago", then "2 hours ago", with nobody editing anything. It rounds to a sensible unit and never shows seconds, so it cannot serve as a ticking clock; a bot or a stream overlay is needed for that. It cannot ping a role or post a message when the moment arrives either — it only changes its own text, so for a notification at go-live, use a Discord Scheduled Event and put the timestamp in the announcement message. Because R keeps counting in very old messages, an announcement meant to stay readable for months should carry the F form beside it, so a reader opening it a year later sees the date as well as "4 years ago".
When the raw code shows instead of a date
Work through this list in order; the first three cover nearly every failure. First, count the digits. A current Unix time in seconds has 10 digits. A 13-digit number is milliseconds, and read as seconds it lands tens of thousands of years in the future — Discord prints the raw tag rather than a date. Drop the last three digits, or divide by 1,000 and round down. Second, strip the formatting: remove backticks, code fences, and any spaces inside the brackets. The tag must be one continuous token, <t:, the number, a colon, the letter, and >, with nothing else between them. Third, check the letter and the case. The tag starts with a lowercase t, and the style must be one of the nine letters; an invented letter, or a capital T at the start, leaves the code unrendered. Phone keyboards add two more traps: autocorrect and smart quotes near the brackets, and the symbols keyboard hiding the angle brackets on a second page, which is why copying from a generator beats typing on mobile.
If the code renders but the time is wrong, the split is between everyone and one person. Wrong for everyone means the zone at generation was wrong; rebuild the number, edit the message, and replace the number in the code. A message's own text is editable, so a wrong timestamp is fixed by editing the message — the stored moment does not move on its own. Wrong for one reader only means that reader's device clock or time zone setting is off, since Discord formats the moment from the viewer's own system clock. A code copied outside Discord — into an email, a spreadsheet, or a data export — always shows raw, because only Discord's apps render it. That is expected, not a failure.
Reading a code someone else posted
Paste a code, or just its number, into a timestamp generator's decode or converter box and it reads the moment back in your time zone and in UTC. That is the fastest way to answer "when is that for me" without doing the arithmetic, and to check an announcement before you forward it. On a phone, typing the code by hand means switching between three keyboard layers for brackets, colons, and digits, so paste beats typing for anything beyond a one-off @time mention.
Umar
Founder, Format Studio
Umar builds Format Studio's free creator tools and writes the practical guides.
Frequently Asked Questions
How do I make a timestamp in Discord?
Type @time in the message box and pick a time from the suggestions, or paste a code in the form <t:UNIX:STYLE>, where UNIX is the moment in whole seconds since 1 January 1970 UTC and STYLE is one of nine letters. A generator site can build the code for you, including times in a zone you are not in.
What are all the Discord timestamp formats?
Discord's developer reference lists nine: t short time, T medium time with seconds, d short date, D long date, f long date with short time (the default), F full date with the weekday, s short date with short time, S short date with medium time, and R relative time. The letters are case-sensitive.
Why is my Discord timestamp showing as code?
The usual causes are backticks or a code block around the code, a space or missing bracket inside it, an unknown style letter, or a 13-digit millisecond number instead of 10-digit seconds. Paste the code as plain text, with no spaces inside the angle brackets, and check the digit count.
Why does my Discord timestamp show the wrong time?
If it is wrong for everyone, the number was built in the wrong time zone, often a fixed abbreviation such as EST used while the region was observing daylight saving time. Rebuild it against a named zone such as America/New_York. If it is wrong for one reader only, that reader's device clock or time zone setting is the cause.
Does the @time shortcut work on mobile?
Yes, since Discord's 19 November 2026 update, which announced @time mentions on mobile. The shortcut first arrived on desktop in Discord's 4 February 2026 patch notes. Discord has not published the exact mobile menus or minimum app versions.
Can I put a Discord timestamp in a channel name or bio?
Not in a channel name, username, display name, nickname, or custom status — those show the raw code as plain text. The About Me bio is reported to render timestamps, but Discord does not document it, so test it after saving. Channel topics are disputed between guides, so test one in your own server before relying on it.
Style the Rest of the Announcement, Not the Time
Timestamps handle the time. For a display name or a heading that needs to stand out, styled Unicode letters do the work headers and bold cannot do outside a message.