Batteries are sold with an expiration date on the package, and I don't think that's usually decades out.
In the 80s I remember seeing expiry dates on AA packs of 99, and my child-brain thought they didn't expire so they put a meaningless number there instead - I couldn't process the idea of the year 1999.