I want to place date and time in a TextLabel. Is there any way to do this?
COMMUNITY QUESTION
How can I display real date and time in a GUI?
1 answer
while wait(1) do
local d = os.date("!*t")
print(d["hour"]..":"..d["min"]..":"..d["sec"])
end
The outut will contain the date being constantly updated.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://scriptinghelpers.org/questions/66052/how-to-use-ostime-osdate-and-what-it-does