add date query option