If you have a round-trip flight, you can customize your stay period as long as it is within the flight departure and return dates.
On the other hand, if you have a one-way flight, you can set your stay period from as early as your departure date (for stays in arrival city) or prior to your departure date (for stays in departure city).