Luup for time and unixtime

Does anyone know how this can be done

If time between 22:00 and 23:00 then

And does may someone know how i get the unixtime via luup ?

If you are going to program in LUA you need to RTFM

http://www.lua.org/manual/5.1/manual.html

Check out os.date and os.time

And does may someone know how i get the unixtime via luup ?
[code]local curtime = os.time()[/code]
Does anyone know how this can be done

If time between 22:00 and 23:00 then

local dtT = os.date("*t") if (dtT.hour >= 22) and (dtT.hour < 23) then

And as @RichardTSchaefer advised…