Skip to content

Discord Timestamp Generator

Pick a date and time and get a Discord timestamp code for every style the chat box accepts. Copy the one you need. The preview uses this device’s clock and language. This page is not affiliated with Discord.

This device’s timezone appears here once JavaScript is running.

The numbers in the date box are read in the timezone you select. A Discord app shows the code in each viewer’s own timezone. The preview below uses this device.

Unix time
—
UTC
—
  • Short timet

    Hours and minutes.

    —

    Preview: —

  • Long timeT

    Hours, minutes, and seconds.

    —

    Preview: —

  • Short dated

    A numeric date.

    —

    Preview: —

  • Long dateD

    Month name, day, and year.

    —

    Preview: —

  • Short date/timefDefault

    Default style. Date and time without the weekday.

    —

    Preview: —

  • Long date/timeF

    Weekday, date, and time.

    —

    Preview: —

  • RelativeR

    A relative phrase. It updates as time passes.

    —

    Preview: —

A 13-digit value is treated as milliseconds and converted to seconds. The style letter is case-sensitive, except r, which is read as R.

Not affiliated with Discord. The preview is how this browser formats the time, so a Discord app set to another language can differ in small ways. The date you pick is not uploaded and is not saved.

How to use this timestamp generator

  1. Set the date and time. The box starts at the current time on this device, including seconds.
  2. Leave the timezone on this device, or choose another one if the clock you typed belongs somewhere else. The numbers in the box stay put. The Unix time changes to match that timezone.
  3. Press +1 hour, +1 day, or Next week to move the clock. Next week adds 7 days. Now returns to the current time.
  4. Read the row for the style you want. The f row is Discord’s default. Each row shows the code and a preview of how a Discord app on this device would render it.
  5. Press Copy on that row and paste the code into Discord. The relative row updates on its own while this page is open.
  6. To check a code you already have, paste it or a Unix time into the decode box and press Decode.

Features

  • Builds a Discord timestamp code for every chat style: t, T, d, D, f, F, and R.
  • Previews each style with this device’s language and timezone.
  • Reads the date box in the timezone you pick, and can move that time by an hour, a day, or seven days.
  • Decodes a pasted Discord timestamp code or a Unix time.
  • Runs in this browser. It does not post to Discord, and it is not affiliated with Discord.

What a Discord timestamp code is

A Discord timestamp is a short code that stores a Unix time and a style letter. Unix time is a count of seconds. The code looks like <t:1710000000:f>. Discord turns that into a date for each person who reads the message, using that person’s own timezone.

This page builds the code. It does not send the message, and it does not talk to Discord. You copy the code and paste it where you want it.

What each style shows

The letter after the second colon picks the layout. t is a short time. T adds seconds. d is a numeric date. D spells the month. f is the default, a date and a time without the weekday. F adds the weekday. R is a relative phrase, such as “in 3 hours” or “2 days ago”.

The preview uses your browser’s language and this device’s timezone, because that is what a Discord app on this same device would do. Someone in another timezone will see a different clock from the same code. The Unix time in the code does not change for them.

Timezones and the date box

The date box has no timezone of its own. This page reads those numbers in the timezone you select. If you type 15:00 and choose Asia/Tokyo, the code is for 15:00 in Tokyo, even when this device is set somewhere else.

Changing the timezone keeps the numbers in the box and recalculates the Unix time. It does not move the clock to show the same instant in the new timezone. The line under the box names this device’s timezone and the offset used for the selected one.

A jump forward for daylight saving has a missing hour. A time in that gap is read as the next valid instant. A repeated hour in the fall is read as the first one. If the exact instant matters, check the Unix time and the UTC line.

Relative times

The R preview updates about once a second. The phrase uses the usual ranges: seconds, then minutes, hours, days, months, and years. The words come from the browser, so they follow this device’s language.

A Discord client can choose a slightly different unit or a different phrase for the same gap. Use the preview as a close reading, not as a pixel match of the Discord app.

Decoding a code you already have

Paste a code such as <t:1710000000:f>, or the number by itself. The page sets the date box to that instant in the timezone you have selected and marks the matching row. A code with no style letter is treated as the default, f.

A whole number with 13 digits is treated as milliseconds and divided by 1,000. That covers a time copied from JavaScript’s Date.now(). Longer numbers, such as a Discord snowflake id, are not timestamps and are rejected.

What this page does not do

It does not post to Discord, look up a server, or check that a channel will accept the code. It does not use the Discord logo, and it is not an official Discord tool.

It does not save the date. A refresh starts at the current time again. It also does not format times outside years 1 through 9999, which is the range this browser’s date formatter supports.

Privacy

The date stays in this browser. Building a code does not send it to BabelDoc, and this page does not write it to local storage.

If analytics is on, it records the visit, not the time you picked. The privacy policy has the site-wide rules.

Frequently asked questions

Is this affiliated with Discord?

No. It is an unofficial generator. It does not use the Discord logo, and it does not connect to a Discord account or server.

Will the preview match Discord exactly?

It will be close on this device. The preview uses this browser’s language and timezone. A Discord app in another language can use different punctuation, a 12-hour or 24-hour clock, or a slightly different relative phrase.

Why does the preview ignore the timezone I selected?

The timezone menu says how to read the date box, so 15:00 can mean 15:00 in Tokyo. Discord then shows that instant in the viewer’s own timezone. The preview is that second step for this device. The UTC line shows the same instant with the timezone taken out.

Can I paste a code to see what time it is?

Yes. Paste the full code, or the Unix time in seconds, and press Decode. The date box moves to that instant in the selected timezone, and the matching style row is marked.

Is the time I pick uploaded?

No. The codes are built in your browser. This page does not save the date and does not send it to BabelDoc.