Turn any date and time into Discord's dynamic timestamp codes. Pick a moment below and the tool builds all seven Discord timestamp formats, shows you a live preview of how each one renders, and lets you copy the exact code with one click. Discord displays these timestamps in every viewer's own local timezone, so an event you post once reads correctly for everyone. Everything runs privately in your browser.
| Format | Code | Preview |
|---|
Discord timestamps are a built-in markup feature that lets you post a date or time that renders dynamically for every reader. Rather than writing a fixed string like "3:00 PM EST," you post a short code such as <t:1718900000:F>. That code carries a Unix timestamp - the number of seconds since January 1, 1970 UTC - together with a single style letter. When the message appears, Discord replaces the code with a nicely formatted date or time, converted automatically into each viewer's own local timezone. Someone in London and someone in Sydney see the same absolute moment written in their own clock time, with zero manual timezone math on your part.
This generator does the conversion for you. You pick a date and time using the picker above, and the tool reads your computer's local timezone to calculate the matching Unix timestamp. It then assembles the code for all seven Discord styles and shows a preview of each so you can choose the one that fits your message.
Choose a date and time in the Date and time field at the top; it defaults to the current moment so you can start immediately. The table below updates instantly and lists every Discord format alongside its code and a live preview. Find the style you want, press its Copy button, and the code is placed on your clipboard. Switch to Discord and paste the code directly into a message, channel topic, or embed, then send it as normal. Discord recognizes the <t:...> pattern and renders it for each reader in their local timezone. You can drop a code inline with text, for example "Doors open <t:1718900000:t>" - no bot or slash command needed.
Discord offers seven style letters, each producing a different display. Short Time (t) shows a clock time like "3:00 PM." Long Time (T) adds seconds, like "3:00:00 PM." Short Date (d) shows a numeric date such as "06/21/2026." Long Date (D) spells the month out, like "June 21, 2026." Short Date/Time (f) combines a long date with a short time, such as "June 21, 2026 3:00 PM," and is the default Discord uses if you omit the style letter. Long Date/Time (F) adds the weekday, like "Saturday, June 21, 2026 3:00 PM." Finally, Relative (R) renders a self-updating phrase like "in 2 hours" or "3 days ago," recalculated live as real time passes - perfect for countdowns and launch announcements.
Everything runs locally. The date you pick never leaves your device. All of the timestamp math and code generation happens in your browser with JavaScript, so nothing is uploaded, logged, or tracked. You simply copy the generated code and paste it into Discord yourself.