timeBetween() expression example?

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?