In general, dried herbs last 1-3 years and spices 1-4 years and do not go "bad" but instead lose their flavor and aroma over time. Besides noting the age, use your taste and smell to see if they still have something to offer.