Module:Sandbox/2NumForIce/!/wb sw time

-- os.date &w is Sun/Mon/.../Fri/Sat, 0-5. Use UTC!
local p = {} --p stands for package

function p.wb_sw_time( frame )
if frame.args[1] == "true" and tonumber(os.date("%H")) >= 6 and tonumber(os.date("%H")) <= 14 then
	return "User:2NumForIce/UserStatusShort/sleeping"
else
	return "HIDDEN"
end end return p