Skip to content

Instantly share code, notes, and snippets.

@kramerc
Created December 19, 2023 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kramerc/409f46fd407c8500f6a0eb1c91d69c91 to your computer and use it in GitHub Desktop.
Save kramerc/409f46fd407c8500f6a0eb1c91d69c91 to your computer and use it in GitHub Desktop.
Specification of timestamps format in Discord that show in the user's time zone
<t:1702933920:T>

t: - prefix

1702933920 - unix timestamp

Suffix codes:

  • :t - short time
  • :T - long time
  • :d - short date
  • :D - long date
  • :f - long date with short time
  • :F - long date with day of week and short time
  • :R - relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment