To select rows between two hours of the day use the
ArrivalTime timestamp field with the following predicate expression:
(get_hour(ArrivalTime) between 9 AND 11)
To select rows between two arbitrary times,
9:30am to
4pm, use the expression:
(get_hour(ArrivalTime) < 16) && ((get_hour(ArrivalTime) > 10) || (get_hour(ArrivalTime) == 9) && get_minute(ArrivalTime) >= 30)