Checking for multiple values in IF separated by commata My code is:

if ((minute == 31) &amp;&amp; (hour == 4, 6, 9, 11)) 
{
  digitalWrite(8, HIGH);
}


I want to turn on the LEDs when it is exactly 


04:31, 
06:31, 
09:31,
11:31


However, the code above doesn't work.
Might be the multiple values the reason for this?
Yes, the list of values 4, 6, 9, 11 does not mean what you think it does.

if ((minute == 31) &amp;&amp;  ((hour == 4) || (hour == 6) || (hour == 9) || (hour == 11))) {
    digitalWrite(8, HIGH);
}