Discord timestamp generator
Pick a date and time and copy the <t:…> code. Discord shows it in every reader's own time zone, in any of the 7 styles.
Pick a date and time and copy the code. Discord shows each timestamp in the reader's own time zone and language, so everyone sees the right local time.
| Style | Code | Shows as |
|---|
The "Shows as" column is a preview in your browser's language; Discord's exact wording can differ slightly by app language.
How Discord timestamps work #
A Discord timestamp is <t:UNIX:STYLE>, where UNIX is the number of seconds since January 1, 1970 (UTC) and STYLE is one letter. Paste the code into any message, embed description, field or bot reply. If you leave the style off (<t:1767225600>) Discord uses f.
In a bot (discord.py) #
import discord
from datetime import datetime, timezone
when = datetime(2026, 12, 31, 18, 0, tzinfo=timezone.utc)
text = f"Event starts {discord.utils.format_dt(when, 'F')} ({discord.utils.format_dt(when, 'R')})"
In discord.js: time(date, TimestampStyles.RelativeTime) from discord.js.
More Discord tools: Timestamps · Embed builder · Colored text · ID to date · Bot invite link · All tools
Still stuck? Use the live chat on the panel or ask in the ESN Systems Discord. Last updated November 3, 2026.