If the latter, find a site which gives today's sunset and sunrise times, write a script to access this site and download these times into global variables, set this script up to run in the middle of the night, and then use the global variables to control the conditional jumps. This is what I do for my electronically-controlled curtains and it works flawlessly.
Guy,
I am just a simple German guy and not a rocket scientist..
What you describe sounds great but I doubt that I will be able to do it in that perfection with my limited PS knowledge.
So I first try to work on the constant version.....
Thanks,
miwi