Hard candies can last up to a year when stored properly, and jellied candies, caramels, and gum can last anywhere from six to nine months. Dark chocolate can be kept for one to two years if wrapped in foil and stored in a cool, dark, and dry place.