I am playing with my if sun calculations... and wanted to check if this was correct.
Assuming a Sunrise of 6:30 and a Sunset of 8:30 in my season table for simplicity
My apex programming is:
Set OFF
If Sun 060/-360 Then SunUp
If Sun 240/-120 Then SunDown
If Sun 360/060 Then Midday
I would assume the following behavior:
SunUp 7:30 2:30
Midday 10:30 6:30
SunDown 12:30 9:30
If I switch my programming to:
Set OFF
If Sun 060/-360 Then SunUp
If Sun 480/060 Then SunDown
If Sun 360/-240 Then Midday
Then, I should expect the following behavior:
SunUp 7:30 2:30
Midday 12:30 4:30
SunDown 2:30 9:30
I am trying to shorten the Midday exposure to 4 hours... Is this correct or am I just misunderstand the whole concept? Thank you.
Bookmarks