Change date mode in search