If you haven't opened a block of feta, it can usually last in the fridge for up to 3 months. Once opened, it will still last 4-6 weeks because the salty brine that it is submerged in helps preserve it.