search accept time-format and date-format