Skip to main content
1 of 2
Shpigford
  • 484
  • 2
  • 8
  • 24

Possible to condense this if statement?

I have this if statement:

if (now.hour() == timeHour && now.minute() == timeMinute && now.second() == 0 && now.dayOfTheWeek() != 1 && now.dayOfTheWeek() != 7){

Is there a way to condense that for the purposes of saving on some bytes?

Shpigford
  • 484
  • 2
  • 8
  • 24