Luup code for one hour after sunset thru one hour before sunrise.

I need to write a luup code for one hour after sunset thru one hour before sunrise for a scene control.

I understand the following…

if (luup.is_night()) then
return true
else
return false
end

But I need to know how to include the one hour after and before the start and end points.

Would appreciate any help…

Thanks…

Please do read this thread on conditional scene execution http://forum.micasaverde.com/index.php/topic,18679.msg141954.html#msg141954

Searching the forum will also turn up lots of similar needs and solution.