Hi guys..

I'm looking to have my program have a night, and day mode.. It pulls in the almanac every time it loads, and I'd like to have it so that when the "Sunrise"'s the program will be in day mode, and when the "Sunset"'s it will go in to night mode..

Is there a way I can say something like:

If time now is between sunrise.Text and Sunset.Text then mode = day
Else
mode = night

How do I actually write this?