It differs so much and depends on how it is stored. If feta is stored properly in brine, it can last months. Ham on the other hand, I find can go quite quickly! (You have to remember Ham can be weeks old by the time you buy it)