Look like OR (||)
if (currTime >= timeOfDay_begin.time && currTime <=timeOfDay_last .time) || (currTime >= timeOfDay_start.time && currTime <= timeOfDay_end.time) && (sel == “on”)
Thanks @David_ROOP
if (currTime >= timeOfDay_begin.time && currTime <=timeOfDay_last .time) || (currTime >= timeOfDay_start.time && currTime <= timeOfDay_end.time) && (sel == “on”)
Thanks @David_ROOP