if(HOLIDAY){ $check = TRUE; } elsif ( $time <= 1800){ $check = TRUE; }