Skip to content

TimestampStylesString

typedef · Source

A message formatting timestamp style, as defined in here.

  • t Short time format, consisting of hours and minutes, e.g. 16:20.
  • T Long time format, consisting of hours, minutes, and seconds, e.g. 16:20:30.
  • d Short date format, consisting of day, month, and year, e.g. 20/04/2021.
  • D Long date format, consisting of day, month, and year, e.g. 20 April 2021.
  • f Short date-time format, consisting of short date and short time formats, e.g. 20 April 2021 16:20.
  • F Long date-time format, consisting of long date and short time formats, e.g. Tuesday, 20 April 2021 16:20.
  • R Relative time format, consisting of a relative duration format, e.g. 2 months ago. Type: string

Unofficial software. Not affiliated with or supported by Discord.