U need to use operations !
like this :

StartTime >= '08:00:00' and EndTime <= '16:00:00'

good lock