while true do
if DateTime
end
So i want to make a update kicker for if it is 10/10/2020 20:00Pm Is this posible I tought dateTime is something i need for this
while true do
if DateTime
end
So i want to make a update kicker for if it is 10/10/2020 20:00Pm Is this posible I tought dateTime is something i need for this
well you could use the os.date function. the function takes a format string and an epoch time stamp such as the one produced by os.time().
if you do:
local t = os.date("*t",os.time())
print("month = ", t.month)
print("day = ", t.day)
on january 7, it should print the following
month = 1;
day = 7
learn more here
This discussion is preserved as it was. New answers, comments, and votes are closed.