How Discord Timestamp Generator works
A Discord timestamp is a short code such as <t:1798747200:F> that Discord swaps for a date and time in each reader's own time zone. This discord timestamp generator builds the code for you: choose the date and time, say which time zone it is written in, and it returns the Unix timestamp in seconds plus one code for every display style, with a preview of each. 8:00 PM on December 31, 2026 in UTC is 1798747200, so <t:1798747200:t> shows 8:00 PM to someone in London and 3:00 PM to someone in New York. Nothing is sent anywhere; the conversion is plain arithmetic in your browser.
Discord timestamp format list with examples
Every style for the timestamp 1798747200, which is 8:00 PM on Thursday, December 31, 2026 in UTC. The display columns show what a reader in UTC sees with Discord set to US English and to UK English.
| Style | Code | US English (12-hour) | UK English (24-hour) | Name |
|---|---|---|---|---|
| t | <t:1798747200:t> | 8:00 PM | 20:00 | Short time |
| T | <t:1798747200:T> | 8:00:00 PM | 20:00:00 | Long time |
| d | <t:1798747200:d> | 12/31/2026 | 31/12/2026 | Short date |
| D | <t:1798747200:D> | December 31, 2026 | 31 December 2026 | Long date |
| f | <t:1798747200:f> | December 31, 2026 at 8:00 PM | 31 December 2026 at 20:00 | Long date, short time (default) |
| F | <t:1798747200:F> | Thursday, December 31, 2026 at 8:00 PM | Thursday 31 December 2026 at 20:00 | Weekday, long date, short time |
| R | <t:1798747200:R> | such as: in 3 hours | such as: in 3 hours | Relative time |
| s | <t:1798747200:s> | 12/31/2026, 8:00 PM | 31/12/2026, 20:00 | Short date, short time |
| S | <t:1798747200:S> | 12/31/2026, 8:00:00 PM | 31/12/2026, 20:00:00 | Short date, long time |
The R style has no fixed text: it counts down to the moment and then counts up from it. Exact punctuation and word order follow the reader's Discord language, so other languages differ from both columns.
Discord timestamp syntax and how the Unix number is worked out
<t:UNIX_SECONDS:STYLE> where UNIX_SECONDS = seconds from 1970-01-01 00:00:00 UTC to the local date and time, minus the UTC offset in seconds
Start with the date and time as if it were UTC, then subtract the zone's offset. December 31, 2026 at 20:00 read as UTC is 1798747200. For New York in winter the offset is UTC-05:00, which is -18,000 seconds, so the timestamp is 1798747200 - (-18000) = 1798765200, the same instant as 01:00 UTC on January 1. For India at UTC+05:30 the offset is +19,800 seconds, giving 1798747200 - 19800 = 1798727400. The style letter is case-sensitive: t and T, d and D, f and F, and s and S are different styles. Leave out the colon and letter to get the default.
Worked examples: the same wall-clock time in different zones
Each result is the Unix seconds value and UTC reading the tool returns.
New Year's Eve party, written in UTC
Date and time 2026-12-31 20:00; time zone UTC+00:00
Unix seconds 1798747200. Same moment in UTC: 2026-12-31 20:00:00. Announcement line: Starts <t:1798747200:F> (<t:1798747200:R>).
The same clock time in US Eastern standard time
Date and time 2026-12-31 20:00; time zone UTC-05:00
Unix seconds 1798765200. Same moment in UTC: 2027-01-01 01:00:00.
The same clock time in India
Date and time 2026-12-31 20:00; time zone UTC+05:30
Unix seconds 1798727400. Same moment in UTC: 2026-12-31 14:30:00.
A raid night in UK summer time
Date and time 2026-10-17 19:00; time zone UTC+01:00
Unix seconds 1792260000. Same moment in UTC: 2026-10-17 18:00:00.
The UK is on UTC+01:00 until the clocks go back in late October, then UTC+00:00. Fixed offsets do not follow daylight saving, so pick the one in force on the day.
A time with seconds
Date and time 2021-04-20 16:20:30; time zone UTC+00:00
Unix seconds 1618935630. The T style shows 4:20:30 PM or 16:20:30; the t style shows 4:20 PM or 16:20.
A quarter-hour offset
Date and time 2026-10-13 09:05; time zone UTC+05:45 (Nepal)
Unix seconds 1791861600. Same moment in UTC: 2026-10-13 03:20:00.
Which style to use in a server announcement
- Event start: F with R after it, as in Starts <t:1798747200:F> (<t:1798747200:R>). Readers get the full local date and a live countdown.
- Something happening later today: t alone is enough, since the date is obvious.
- A deadline days away: D or d for the date, plus R so people can see how long is left.
- Giveaway or poll closing: R on its own reads naturally, for example Ends in 3 hours.
- Logs and moderation notes from a bot: f or s keeps each line short while still showing date and time.
- Schedules with many rows: t in a list under a single D heading avoids repeating the date.
Daylight saving, device time zones and other limits
The most common mistake is generating the code in the wrong zone. If you type your own local time, leave the selector on This device's time zone: the tool then uses your browser's zone for that specific date, including daylight saving, and shows the offset it applied. If you are entering a time someone else gave you, pick the UTC offset for their zone on that date. New York is UTC-05:00 in winter and UTC-04:00 in summer, and the list labels both.
The previews show the time exactly as entered, in US and UK English. They are illustrations of the layout. Your readers will see their own local clock time, and Discord controls the final wording.
Relative time cannot be previewed, because this page never reads the current time. Discord works it out on the reader's device.
The s and S styles were added to Discord's documentation after the original seven. Up-to-date apps render them; an old app may show the raw code instead. If your server has members on outdated clients, stay with the original seven.
The tool builds codes from a date. To go the other way, from a Unix number back to a date, use the Unix Timestamp Converter.
How to get your result
- 1
Set Date and time to the moment you want to announce, such as an event start or a deadline.
- 2
In Time zone of that date and time, keep This device's time zone if you typed your own local time, or pick the UTC offset the time is written in.
- 3
Check Same moment in UTC and Offset applied to confirm the tool read the time the way you meant it.
- 4
Find the style you want in the Discord timestamp codes table, then press the copy button beside that code in the Copy a code list.
- 5
Paste the code into your Discord message and send it. Discord shows the formatted time once the message is posted.