I am trying to incorporate the time of day into my sketch, so that the relays will only activate between the hours of 8am to 11pm. I can see that currentHour can be returned, but I am struggling to figure out the right if syntax to check for between 2 values.
I want to see if currentHour is between 8 and 23