Hello! I would like to print out the current day (for example “Sunday”). Is there a way to make it easily?
local Today = os.date("*t").day.Name
print("It is: "..Today)
--Expected output:
It is: Tuesday
Hello! I would like to print out the current day (for example “Sunday”). Is there a way to make it easily?
local Today = os.date("*t").day.Name
print("It is: "..Today)
--Expected output:
It is: Tuesday
if you would like to print like for example, Tuesday do this
print(os.date("%A"))
if you would like it to print for example, Tue do this
print(os.date("%a"))