toDiscord
Format the given Moment to Discord's automatically-formatted timestamp format. This will return a String that you can include in your messages, which Discord should automatically format for users based on their locale.
Format the given PlainTimestamp to Discord's automatically-formatted timestamp format. This will return a String that you can include in your messages, which Discord should automatically format for users based on their locale.
This will get the timestamp's Moment at UTC. If this isn't what you want, use the PlainTimestamp#at(ZonalOffset) function and call .toDiscord(format) with the result..
Format the given PlainTimestamp to Discord's automatically-formatted timestamp format. This will return a String that you can include in your messages, which Discord should automatically format for users based on their locale.
This will get the timestamp's Moment at UTC, with the start of day set to MIDNIGHT. If this isn't what you want, use the GeneralTimestamp#at(ZonalOffset, StartOfDay) function and call .toDiscord(format) with the result.