Once opened, hard cheese is generally safe to eat for six weeks. Gruyere, gouda and other cheese which aren't entirely hard or soft can meanwhile be stored in a fridge for two to three weeks after they are opened, or two months in the freezer if the packet is untouched.