Here is the deal.
If canned properly, no matter what the food, all the bacteria is DEAD. No new bacteria will magically appear to ruin the food. It is a SEALED environment. If the container is not breached, and the food was properly canned, the contents are edible. Tasty? maybe not. As full of nutrients as when fresh? maybe not. Edible? yes.
Use your brain.
Is the can undamaged, not leaking ? Is the can swollen? Upon opening do the contents seem ok? don't stink..? well, no more than when they were canned? No fuzz? no green/pink/grey growth etc?
The answers to these questions determine if it's edible or not. Not the date on the bottom of the package.