Add to and from in date based search url