Skip to content
Free tool

Discord Timestamp Generator

Pick a date and time and copy the matching Discord timestamp. Discord automatically converts the time to every reader's time zone and language – ideal for events, maintenance and server restarts.

Discord shows every reader this moment in their own time zone and language. The preview is an approximation.

Timestamps to copy

…

Guide

How Discord timestamps work

A Discord timestamp has the form <t:UNIX-TIME:FORMAT>, for example <t:1798761600:R>. Unix time counts the seconds since 1 January 1970 (UTC); the letter at the end sets the display style. Discord shows every reader the time in their own time zone and language.

That lets you announce events, maintenance windows or server restarts in international communities without converting time zones. Without a letter, Discord uses format f (date with time).

The seven formats
FormatCodeDisplay
t<t:…:t>short time
T<t:…:T>time with seconds
d<t:…:d>short date
D<t:…:D>long date
f<t:…:f>date and time (default)
F<t:…:F>with weekday
R<t:…:R>relative, e.g. "in 3 hours"

Relative for countdowns

Format R shows "in 2 hours" or "5 minutes ago" and updates itself. Ideal for event starts and announcements.

For bots

In JavaScript you get Unix time with Math.floor(Date.now() / 1000), in Python with int(time.time()). discord.js offers the time() function, discord.py the function discord.utils.format_dt().

In embeds

Timestamps work in normal messages as well as in embed descriptions and field values. It's best to test the display once in a private channel.

Time zones without maths

The generator takes your local time; Unix time is the same worldwide. Every reader automatically sees the time in their own time zone.

Announce maintenance

For server maintenance, combining F (exact time) and R (countdown) works well, e.g. "Maintenance on <t:…:F> (<t:…:R>)".

A bot that runs 24/7

Want your bot to post timestamps automatically? With a boost on the Magic Services Discord you can host it for free with us.

FAQ

Questions about Discord timestamps

How do I create a Discord timestamp?

Pick a date and time, copy the code in the format you want and paste it into your message. Discord displays it as formatted time.

Which format does Discord use by default?

Without a format letter, Discord uses format f, i.e. date with time.

Does everyone see the same time?

Everyone sees the same moment – but in their own time zone and language. That's exactly what timestamps are for.

Are my inputs stored?

No. The conversion runs entirely in your browser.