You can keep brown eggs refrigerated for at least 2-4 days.
Most cakes can keep for a week (maximum) if stored properly.
If you freeze it, six months.
at least 1 week
About a week or so, it will turn out soggy and rusty.
2 days
If kept refrigerated about a week.
Most any cooked food will keep in the refrigerator for about 3-4 days.
2 years
Opened, about 3-5 years. Closed, forever.
They should be refrigerated or frozen if you want them to keep. Generally you should probably eat them within the day if they aren't being refrigerated so long as the weather isn't too warm.
From 3 - 7 days if refrigerated About 2 and 1/2 days if frozen