Added code automatically convert dates in query strings.