create search time with leave time