When you're planning, planting and managing a vegetable garden, it's useful to know how long a plant will be in the garden, so you can replace it with another crop.