Vanilla cakes that are made with butter will generally stay moist up to three days as long as it's frosted. Unfrosted cakes will dry out quicker.