Grafana 8 alert during specific hours

Im using prometheus as data source and grafana 8 unified alerting. The goal is to alert only during specific hours. The following query is what i have at the moment:

(100-(avg by (instance) (irate(windows_cpu_time_total{job=~"windows_scrape",mode="idle"}[2m])) * 100)) * ((hour() > 8) * (hour() < 10))

but this query has no data. Any idea? Thank you

As far as I know, toggling on/off alerts based on a set schedule is currently not possible.

For legacy alerts, there is this third-party tool, which can do some of that: