Can you explain to the math impaired what is going on in your final equation? I am trying to get on every hour to fade into the next hour. So around 645 it starts fading into 700, 745 fades into 800, etc. Can you offer any assistance please?
I dont know if I am doing it right, but here is what ive been using:
Time Hr Night before sunrise
$#Dk#<#WSUNRISEH24#?100:0$
Time Hr Day
$#Dk#>=#WSUNRISEH24#&&#Dk#<=#WSUNSETH24#?100:0$
Time Hr Night sunset
$#Dk#>#WSUNSETH24#?100:0$