Timestamp codes for Discord
A time every reader sees in their own zone
Read a code
This month
How this was worked out
Pick a date, a time and a time zone to get the code for each display style. Put a code in a Discord message and it shows as a date or time in each reader's own time zone, so nobody has to convert. Paste a code below the tool to see what it stands for, or copy a link that opens this moment in the time zone of whoever opens it. This site is not affiliated with Discord.
What these codes are
A timestamp code is a short piece of message markup: <t:, a Unix time, an optional colon and style letter, and >. The Unix time is the number of whole seconds since midnight UTC on 1 January 1970, the count most computers keep, so it names one instant everywhere and carries no time zone. The app showing the message turns the number into words using the reader's own device settings, so a reader in London and a reader in Tokyo see the same moment, each in local time.
The nine styles, with one worked example
The example is Unix time 1800000000, which is 08:00:00 UTC on 15 January 2027. The last column is how a browser set to US English and to New York time writes each style (New York is on standard time, UTC-5, in January). The relative style is shown as read on 15 November 2026.
| Style | Code | Reads as |
|---|---|---|
| Short time | <t:1800000000:t> | 3:00 AM |
| Medium time | <t:1800000000:T> | 3:00:00 AM |
| Short date | <t:1800000000:d> | 01/15/2027 |
| Long date | <t:1800000000:D> | January 15, 2027 |
| Long date, short time | <t:1800000000:f> | January 15, 2027 at 3:00 AM |
| Full date, short time | <t:1800000000:F> | Friday, January 15, 2027 at 3:00 AM |
| Short date, short time | <t:1800000000:s> | 01/15/2027, 3:00 AM |
| Short date, medium time | <t:1800000000:S> | 01/15/2027, 3:00:00 AM |
| Relative time | <t:1800000000:R> | in 2 months |
Leave the letter off, as in <t:1800000000>, and the format's default is used: long date, short time, the same as f. The wording above is the browser's. The chat app writes its own text, so punctuation or word order can differ a little, but the moment is the same.
Why each reader sees their own time
The code holds an instant, not a clock reading. Nothing in it says where it was written, so there is nothing to convert from: each reader's device asks its own time zone what that instant is called locally. That is also why the previews on this page are in your time zone and your browser's language. They show what you would see, and another reader's device writes its own.
The hour that is skipped and the hour that happens twice
Turning a clock reading into a Unix time is the step that can go wrong, because a clock reading in a zone does not always name exactly one instant. When the clocks go forward an hour is skipped: in New York on 8 March 2026 the clock went from 01:59 to 03:00, so 02:30 that day never happened. This page says so and makes no code for it, since any number would be a guess. When the clocks go back an hour repeats: in New York, 01:30 on 1 November 2026 happened on summer time, at 05:30 UTC, and again an hour later on standard time, at 06:30 UTC. This page uses the earlier one, says so, and offers the later one as a choice. The zone rules are your browser's own, as on the time zone converter.
Before 1970 and far ahead
Before 1970 the count is negative: the Apollo 11 landing, at 20:17:40 UTC on 20 July 1969, is Unix time -14182940. This page works from the year 0001 to the year 9999. Whether a chat app shows a negative or very distant code is up to the app, so try one before relying on it.
Sharing a moment
Copy link puts the Unix time in the address, as ?t=1800000000, and nothing else. Whoever opens the link sees the same moment in their own time zone, so it also works for sending a meeting or event time to people in several places, in a chat app or anywhere else.