the act of canning doesn't preserve food forever. but you can often get 18 months to two years out of your higher sugar products like jams and fruit canned in syrup. as long as the seal is good and the lid seems properly concave, your product should be just fine.