Is posible to get the timestamp? [SOLVED]

I need it because for discord webhook

os.time() may give the timestamp?
https://www.lua.org/pil/22.1.html

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