Discord Timestamp
Description
Represents a timestamp that is formatted specifically for use within the Discord platform. This data type allows for various formatting options to display dates and times in different styles, such as short or long formats, and relative time.
Properties
Default: The timestamp displayed in Discord's default format.
Short time: Displays only the time in a short format (e.g.,
2:30 PM
).Long time: Displays the time in a more detailed format (e.g.,
2:30:45 PM
).Short date: Displays only the date in a short format (e.g.,
01/01/2024
).Long date: Displays the date in a more detailed format (e.g.,
January 1, 2024
).Short date and time: Displays both the date and time in a short format (e.g.,
01/01/2024, 2:30 PM
).Long date and time: Displays both the date and time in a detailed format (e.g.,
January 1, 2024, 2:30:45 PM
).Relative: Displays the time relative to the current time (e.g.,
5 minutes ago
).
Last updated