How to display only values from specific time of day

I have a influxdb with humidity values every 15 minutes. Since the fluctuations between night and day are very big, I only want to see the values at noon. Looking at 3 weeks I don’t want to see the up and down in the night, I only want values from around 12 o’clock.
Is there a way to filter with something like “WHERE date.hour(time)=12 and $timeFilter” ?