IF $Time(hh) >= 8 then Backlight(0)
IF $Time(hh) >= 20 then Backlight(1)
The actions must be in this order (they get executed in sequence), otherwise the backlight will stay off, and this assumes you are using 24-hour clock format.
Unfortunately there doesn't seen to be an action output command that lets you set backlight brightness. You can only turn it on (at the preset brightness) or off.
I use that line on my screensaver screen. In the omit.ini i've specified 23 to 06 = 22, so every hour between 22 and 06 shows an empty screen if the screensaver is running (notext in this case). I use a VFD, so i don't know how to set backlight, but maybe this is useful anyway.