I need it because for discord webhook
You can use this 3v.fi - Discord Timestamp Generator, otherwise if you want it to send the current time do:
"<t:"..os.time()..":R>"
2 Likes
There’s an API called DateTime which is very useful for this.
DateTime.now():FormatLocalTime("LTS", "en-us")
-- This will return a string with the format - HH:MM:SS AM (or PM).
I use this for my custom developer console:
2 Likes