date_hour
can't both be more than 19 and less than 7 at the same time. You probably want OR instead of AND there.
date_hour
can't both be more than 19 and less than 7 at the same time. You probably want OR instead of AND there.
Perfect! Can't believe I missed that.