In general, spices have a lengthy shelf life. They're okay to use if their taste and aroma are fine and there are no visible signs of rotting.