Discord Timestamp Generator & Converter
Choose a date, time and time zone, then copy a Discord <t:UNIX:STYLE> code. Everyone who reads it sees the moment in their own time zone. Runs entirely in your browser.
Your codes
What your members see
Message composer
Previews are an approximation: Discord renders with each viewer's own client language.
Uses the date-independent time and the time zone from the Create tab.
Self-test results
What a Discord timestamp is
A Discord timestamp is a short piece of text, <t:1777844460:F> for example. The number is Unix time: the seconds elapsed since 00:00:00 UTC on 1 January 1970. The letter after the second colon chooses the display format. When a message containing the code is shown, Discord converts the instant to the reader's own time zone, so one code works for a worldwide community.
The nine styles
All rows use the example instant 1777844460, which is 3 May 2026 21:41:00 UTC, rendered in UTC with the en-US locale. Discord uses each reader's own zone and language, so other readers see different text.
| Style | Code | Example | Meaning |
|---|---|---|---|
| t | <t:1777844460:t> | 9:41 PM | Short time |
| T | <t:1777844460:T> | 9:41:00 PM | Long time |
| d | <t:1777844460:d> | 05/03/2026 | Short date |
| D | <t:1777844460:D> | May 3, 2026 | Long date |
| f | <t:1777844460:f> | May 3, 2026 at 9:41 PM | Long date with short time |
| F | <t:1777844460:F> | Sunday, May 3, 2026 at 9:41 PM | Full date with short time |
| s | <t:1777844460:s> | 05/03/2026, 9:41 PM | Short date and time (unverified) |
| S | <t:1777844460:S> | 05/03/2026, 9:41:00 PM | Short date with seconds (unverified) |
| R | <t:1777844460:R> | depends on the current time | Relative, such as "in 3 hours" or "2 days ago" |
How to make a timestamp
With this tool
Open the Create tab, enter a date and time, choose the time zone you mean it in, and press Copy next to the style you want. Paste the code into Discord. Warnings appear if the local time does not exist or happens twice because of a daylight-saving change.
By hand
Convert the moment to Unix seconds, then write <t:SECONDS:STYLE>. In JavaScript: Math.floor(new Date("2026-05-03T21:41:00Z").getTime() / 1000). In Python: int(datetime(2026, 5, 3, 21, 41, tzinfo=timezone.utc).timestamp()). Always give the date a time zone; a date without one is read in the machine's local zone.
Why a timestamp looks wrong
Most errors come from creating the code with the wrong zone. Use a named zone such as America/New_York, not a fixed offset such as UTC-5: the name follows daylight saving, the offset does not. Two local times are special. In spring a clock jumps forward, so a time such as 02:30 does not exist. In autumn a clock goes back, so a time such as 01:30 happens twice. The tool detects both and lets you pick. Readers also see the code through their own device clock and zone, so a reader whose device has the wrong time zone sees the wrong local time.
What timestamps cannot do
A timestamp is one fixed instant, so it cannot repeat by itself. For a weekly event, use the Weekly schedule tab to list the next dates. Each line holds its own code.
Privacy
Everything is calculated in your browser. Nothing you type is uploaded, there are no cookies, and the page makes no third-party requests. Share links keep your settings in the part of the address after the # sign, which browsers do not send to servers.
How this tool works
Time zone conversion
Zones come from the browser's IANA time zone data through Intl.DateTimeFormat. A local time is converted by testing the offsets in force the day before and the day after, and keeping each offset that reproduces the same local time. No match means a gap; two matches mean an overlap. Half-hour and 45-minute offsets and Lord Howe's 30-minute shift are handled the same way.
Relative time (R) thresholds
Under 60 seconds the preview counts seconds, under 60 minutes minutes, under 24 hours hours, under 30 days days, under 365 days months (30-day months), then years. These are approximations of Discord's wording; the live client may differ.
Supported natural-language phrases
in 30 minutes, in 2 hours, in 3 days, in 1 week, today 18:30, tomorrow 8pm, tonight 9, monday 9am, next friday 7pm, 2026-12-31 23:00, dec 31 11pm. A weekday always means the next one after today. Anything else returns an error instead of a guess.
Decoder
The Decode tab reads codes, 10-digit seconds, 13-digit milliseconds, 16-digit microseconds, date strings, and Discord IDs. A Discord ID (Snowflake) stores its creation time in the bits above the lowest 22, in milliseconds after 1 January 2015 UTC (epoch 1420070400000).
Frequently asked questions
What is a Discord timestamp?
A Discord timestamp is text in the form <t:UNIX:STYLE>. UNIX is a number of seconds since 1 January 1970 UTC and STYLE is a one-letter format. Discord replaces the code with a date or time shown in each reader's own time zone and language.
Why is my timestamp off by one hour?
The code stores one absolute instant, so an hour of error almost always comes from the time zone used to create it: a wrong zone, a fixed offset instead of a named zone, or a local time that falls in a daylight-saving gap or overlap. This tool flags gaps and overlaps and lets you choose.
Can a Discord timestamp repeat every week?
No. A code holds one fixed instant. The Weekly schedule tab calculates the next dates in your chosen time zone and gives each its own code.
Seconds or milliseconds: which does Discord use?
Timestamp codes use Unix seconds, which currently have 10 digits. A 13-digit number is milliseconds and must be divided by 1000. The Decode tab detects the length and warns you.
Is my data sent anywhere?
No. All calculation runs in your browser. The page sets no cookies and makes no third-party requests.
Are the s and S styles real?
This page marks them as unverified because they could not be confirmed in official documentation. Test them in your own server before relying on them. The styles t, T, d, D, f, F and R are the common ones.
Related tools
Maintained by ToolShed. Contact. This tool is independent and not affiliated with Discord. Last updated: 2026-11-08.
Changelog
- 2026-11-08: first release.
