30.08.2017, 13:17
os.date returns a string, so you should convert it to number explicitly:
Code:
day = os.date("%w")
day = tonumber(day)
os.date("%w")
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
os.date("%w") - by Jayce - 30.08.2017, 12:37
RE: os.date("%w") - by admin - 30.08.2017, 13:17
RE: os.date("%w") - by Jayce - 30.08.2017, 13:20
|