When we cleared the flat of an old aunt of dh after she died, we found masses of tins, most of which went back many years.
However since none of them were blown or rusty, we took them home and used them all.
The only out-of-date things I’ve had to chuck were 2 large jars of cherries (bought, not home-bottled) among other things passed on by a friend who was clearing her kitchen before moving country.
I was all set to make a clafoutis with them, but when I opened them they were horrible - just a squashy, tasteless mess. I was really looking forward to that clafoutis, too! ?