No longer important. Please delete.
os.date returns a dictionary, and the
wday field of the dictionary represents what day of the week it is. Sunday is the first day of the week, so you would check if
os.date("*t").wday == 6
AFAIK, it’s the
os.date("%A"). Print it and it will probably yield a day.
Thank you it works
os.date on roblox doesn’t support format specifiers
Oops, that’s the other Lua then.
Roblox must have put limitations on the
os.date which sucks.
This appears to work now!
Maybe this came with Luau’s release?