Change dates in request to DateTime