Timestamps

Timestamps display a dynamic date or time, interpreted directly by Discord. They automatically adapt to the user's language, their time zone and the moment the message is read.

Usage

The {timestamp} variable represents a date as a Discord timestamp.

Simplified example:

{timestamp}

Used on its own, the {timestamp} variable only returns a numeric value. To get a readable display, you have to use the style parameter.

You can find the other existing variables by clicking here

The style parameter

The style parameter chooses the timestamp's display format.

Variables

StyleExample renderingDescription
t14:32Short time
T14:32:18Long time
d25/01/2019Short date
D25 January 2019Long date
f25 January 2019 14:32Date and time
FFriday 25 January 2019 14:32Full date and time
R2 hours agoRelative display

Examples of use

  • Short date: {timestamp:style=d}
  • Full date and time: {timestamp:style=F}
  • Relative display: {timestamp:style=R}