Timestamps

What is a timestamp?

A timestamp is a marker that indicates a specific moment in time, such as when a message was sent or an event occurred.

What is Unix time?

Unix time, or Epoch time, is a system for measuring time starting from January 1, 1970. It shows the number of seconds that have passed since this point. Discord uses this standard for managing time.

How to Format a Timestamp in Discord?

To create a timestamp in Discord, use the following format:

<t:unix:format>
  • unix: The Unix time (epoch time) in seconds. It represents the specific moment you want to display.

  • format: The format you want to use for displaying the timestamp (e.g., t, T, d, D, f, F, R).

Timestamp Formats in Discord

Format
Description

t

Time in HH:MM format

T

Time in HH:MM:SS format

d

Date in DD/MM/YY format

D

Date in Day Month, Year format

f

Date and time in Day Month, Year HH:MM format

F

Full date and time in Day of the week, Day Month, Year HH:MM format

R

Relative time, showing how long ago the timestamp was

Examples:

Example Usage
Result

<t:1671263646:t>

<t:1671263646:T>

<t:1671263646:d>

<t:1671263646:D>

<t:1671263646:f>

<t:1671263646:F>

<t:1671263646:R>

Last updated