I do not know where to ask about this, so I thought, why not ask Stackoverflow?
I wonder if I can somehow get the current day with Lua?
Something about os.date (), but I have no idea how to do this. Or maybe os.time ()?
as:
local day = os.time()somethingsomething
And then check
if (day == 'monday') then
print('It is monday')
elseif (day == 'tuesday') then
print('It is tuesday!')
end
user3036459
source
share