How do I edit the length / start date of a sprint?

Click the sprint title on the backlog to edit it. All the future sprints will be based the length on the current sprint.