Canned food will last between 2 to 5 years, when it is unopened. But once it has been opened, you will need to refrigerate once opened (the leftovers) and thereafter, it will last about 5 to 7 days.
Remember to check your can for any bulges and smells, before and after opening it. Bulges in the can and any putrid smell upon opening the can, can mean it is spoilt and there is bacteria.
Always store canned foods (unopened), in a cool and dark place.
]]>How to Store vegetables to Keep them Fresh for Longer