Salt Reef seasons IF Then Confusion!?

if((hours=<18 && minutes==00)||(hours=>6&&minutes==00)||(hours=>7&&hours=<17);
digitalWrite(fan, HIGH);
{
else
}
digitalWrite(fan,LOW);

i think this is what your asking for AWOL and Nick;

my original sketch is the that everyting was laid out corresponding to time of a day as if you were watching a clock go by now i think if i set the time to only be on during those time specified then it will be off for remainder.

each Season or months will have their own variables that will be controlling things like fan, 2 lights , thrown into sketch will be an automated moon phase(hopefully). Sorry i would have rewritten alot of it last night but i was spent and today i have my daughter field trip so. i will be coding as soon as i get the chance.

btw I thank all of you for responding as quickly as you have and for not giving be hard time :grin: i will be monitoring posts throughout the day to keep up with everything as well.