shelf life of cream cheese frosting

Hi All I’ve only used cream cheese frosting twice and used philadelphia. How long can you keep any unused frosting in the fridge? Is it until the sell by date of the cheese> Been looking for any earlier questions related to this but can’t find any. Thanks