timeBetween() expression example?

Checking to see if someone can help me with an expression. I need an item in a transaction group to become true between 5:00 and 15:30. What would be the best way to handle this. If you have a full example, that will help. Thanks.

Here is a piece of code I use in the alerting groups section to only send alarms to second shift people when an alarm happens between their start time and end time:

{[SEVERITY]} = 4 && timeBetween(dateFormat(now(), "h:mm a"), "2:30 PM", "10:30 PM")

Is that what you’re looking for?

Here is an example from the User Manual