How Discord Timestamp Syntax Works
Discord uses a built-in Unix markdown syntax written as <t:UNIX_SECONDS:FLAG>. When you paste that tag into any Discord channel, profile bio, or embed message, the Discord app reads the 10-digit Unix timestamp and formats it automatically for each reader.
A community member in Tokyo sees Japan Standard Time, while a member in London sees British Time. Nobody has to calculate timezone offsets manually.
All 7 Official Discord Format Flags
You can control how much detail Discord displays by changing the single letter at the end of the tag:
- t (Short Time): Displays only hours and minutes, such as 4:20 PM.
- T (Long Time): Displays hours, minutes, and seconds, such as 4:20:00 PM.
- d (Short Date): Shows a compact numeric calendar date, such as 12/05/2026.
- D (Long Date): Shows the full written month name, day, and year.
- f (Short Date and Time): Combines the full date with short time. Discord uses this as the default if you omit the flag.
- F (Long Date and Time): Includes the weekday name along with the full date and time.
- R (Relative Countdown): Displays a live updating timer such as "in 2 hours" or "5 days ago".
How to Create a Live Countdown in Discord Chat
To post a live countdown for a stream, tournament, or server maintenance window, choose your future date above and copy the R flag tag (<t:1764979200:R>). Discord updates relative tags automatically on desktop and mobile screens without any bot required.
If you are building a Discord bot in JavaScript or Python, convert your millisecond timer to whole seconds using Math.floor(Date.now() / 1000) before wrapping it inside the tag. Never paste 13-digit milliseconds inside <t:...> because Discord expects 10-digit Unix seconds.