time_start & time_end check