No, guitar strings do not have a "best before date". However, strings packaged in non-airtight packets can go bad. Depending on the string type and coating, it can range from just visible oxidation to major rusting. High humidity and salty air can aggravate the corrosion several folds, while coatings such as polymer and phosphor-bronze plating can negate it.