IFBetween(ltDateTime, DateTime(Year(ltDateTime), Month(ltDateTime), Day(ltDateTime), 8, 0, 0), DateTime(Year(ltDateTime), Month(ltDateTime), Day(ltDateTime), 11, 0, 0))
*-- Time between 8:00 and 11:00ELSE *-- Not betweenENDIF
HTH
>Has anyone come up with a solution to compare time values from a datetime() expression between a specified start time and a end time? > >I'm only looking at the time portion and not the date.