Alarm expression for 'Enabled' does not work

I am using the expression

dateExtract(now(0), “hour”) >= 10 && dateExtract(now(0), “hour”) <= 16

to limit the enabled period for an alarm. After 4 pm no new alarms should be generated, but they in fact are. Is there another setting that is needed to ensure this functions correctly?

thx

Ahem. Never mind.
<16 rather than <=16