Skip to content

Discord Timestamp Generator

Enter a date and time once and copy a code that shows the right local time to every person who reads your Discord message.

Runs in your browserFree, no sign-upLast reviewed

Settings

The device option follows daylight saving automatically. Fixed offsets do not, so pick the one in force on that date.

Results update automatically as you type.

Unix timestamp

Unix seconds
1798747200
the number Discord uses
Unix milliseconds
1798747200000
not accepted by Discord
Same moment in UTC
2026-12-31 20:00:00
UTC+00:00
Offset applied
UTC+00:00
this device's zone on that date

Discord timestamp codes

StyleCode to paste12-hour display (US English)24-hour display (UK English)What it shows
t<t:1798747200:t>8:00 PM20:00Short time
T<t:1798747200:T>8:00:00 PM20:00:00Long time, with seconds
d<t:1798747200:d>12/31/202631/12/2026Short date
D<t:1798747200:D>December 31, 202631 December 2026Long date
f<t:1798747200:f>December 31, 2026 at 8:00 PM31 December 2026 at 20:00Long date and short time (the default)
F<t:1798747200:F>Thursday, December 31, 2026 at 8:00 PMThursday 31 December 2026 at 20:00Weekday, long date and short time
R<t:1798747200:R>for example: in 2 hours, or 3 days agofor example: in 2 hours, or 3 days agoRelative time, updates live
s<t:1798747200:s>12/31/2026, 8:00 PM31/12/2026, 20:00Short date and short time (newer style)
S<t:1798747200:S>12/31/2026, 8:00:00 PM31/12/2026, 20:00:00Short date and long time (newer style)

Copy a code

  • 1<t:1798747200:t>
  • 2<t:1798747200:T>
  • 3<t:1798747200:d>
  • 4<t:1798747200:D>
  • 5<t:1798747200:f>
  • 6<t:1798747200:F>
  • 7<t:1798747200:R>
  • 8<t:1798747200:s>
  • 9<t:1798747200:S>
  • 10<t:1798747200>

Ready-made announcement line

Starts <t:1798747200:F> (<t:1798747200:R>)

What other people see. The display columns show the time as entered (UTC+00:00). Discord converts each code to every reader's own time zone and language, so their wording and clock time will differ. The R style is worked out from the reader's clock, so it cannot be previewed here. The s and S styles are recent additions and may show as plain text in older Discord apps.

Quick answers

How do you make a timestamp in Discord?
Type <t: followed by a Unix timestamp in seconds, an optional colon and style letter, then >. For example <t:1798747200:F> displays as Thursday, December 31, 2026 at 8:00 PM for a reader in UTC, and as the matching local time for everyone else.
What are the Discord timestamp formats?
The seven long-standing style letters are t (short time), T (long time with seconds), d (short date), D (long date), f (long date and short time), F (weekday, long date and short time) and R (relative time). Discord has since added s and S, which pair a short date with a short or long time.
What is the default Discord timestamp format?
f. A code with no style letter, such as <t:1798747200>, displays the same as <t:1798747200:f>: a long date with a short time, for example December 31, 2026 at 8:00 PM.
How do I make a Discord countdown timestamp?
Use the R style. <t:1798747200:R> displays as relative time, such as in 2 months or in 3 hours before the moment and 5 minutes ago after it, and Discord keeps it updated without the message being edited.
Does a Discord timestamp show in everyone's own time zone?
Yes. The code stores a single instant as seconds since January 1, 1970 UTC. Each Discord app converts that instant using the reader's device time zone and Discord language setting, so one message reads correctly for people in different countries.
Does Discord use Unix time in seconds or milliseconds?
Seconds. The number is normally 10 digits for present-day dates, such as 1798747200. Many programming languages return milliseconds (13 digits), which must be divided by 1,000 and rounded down before going into the code.

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.

StyleCodeUS English (12-hour)UK English (24-hour)Name
t<t:1798747200:t>8:00 PM20:00Short time
T<t:1798747200:T>8:00:00 PM20:00:00Long time
d<t:1798747200:d>12/31/202631/12/2026Short date
D<t:1798747200:D>December 31, 202631 December 2026Long date
f<t:1798747200:f>December 31, 2026 at 8:00 PM31 December 2026 at 20:00Long date, short time (default)
F<t:1798747200:F>Thursday, December 31, 2026 at 8:00 PMThursday 31 December 2026 at 20:00Weekday, long date, short time
R<t:1798747200:R>such as: in 3 hourssuch as: in 3 hoursRelative time
s<t:1798747200:s>12/31/2026, 8:00 PM31/12/2026, 20:00Short date, short time
S<t:1798747200:S>12/31/2026, 8:00:00 PM31/12/2026, 20:00:00Short 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. 1

    Set Date and time to the moment you want to announce, such as an event start or a deadline.

  2. 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. 3

    Check Same moment in UTC and Offset applied to confirm the tool read the time the way you meant it.

  4. 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. 5

    Paste the code into your Discord message and send it. Discord shows the formatted time once the message is posted.

Answers to common questions

Where do Discord timestamp codes work?
In message text, including messages sent by bots and webhooks. Paste the code exactly, with the angle brackets. While you are typing it stays as code; the formatted time appears after the message is sent.
Why does my timestamp show the wrong time?
Usually the code was generated in a different time zone from the one the time was written in, or with the wrong daylight saving offset. Compare Same moment in UTC with what you expect. A one-hour error almost always means summer versus winter offset.
Why does my code show as plain text instead of a date?
Check for a missing bracket, a space inside the code, a style letter Discord does not know, or a number in milliseconds. The code must be exactly <t:, digits, optionally a colon and one valid letter, then >. Codes inside a code block or inline code are also left as text.
Can I get the current time as a Discord timestamp?
Set Date and time to the present moment yourself. The page does not read your clock, so it has no now button. For the current Unix time in one click, the Unix Timestamp Converter on this site opens pre-filled with it.
Can I include seconds?
Yes. If your browser's date-time picker has a seconds field, or you type a value such as 2021-04-20T16:20:30, the seconds are carried into the Unix timestamp. Only the T and S styles display them.
What is the largest timestamp that works?
This tool accepts years from 1000 to 9999 and does not cap the number. 03:14:07 UTC on January 19, 2038 gives 2147483647, the largest value a signed 32-bit integer can hold, and later dates produce larger numbers. Dates before 1970 give negative numbers.
Do readers need to do anything to see their local time?
No. Conversion is automatic and uses the time zone of the device Discord is running on. Hovering over a timestamp on desktop shows the full date and time.
Is this the same as HammerTime?
No, it is a separate tool, though it does the same core job of turning a date and time into Discord timestamp codes. This page offers a fixed UTC offset selector, a UTC cross-check and 12-hour and 24-hour previews. It has no companion Discord bot and no shareable link that stores your chosen time.

Looking for something else? Browse all developer tools or see every tool.