It depends on the cake. Standard bakery cakes can stay fresh for a couple of days (up to 4 if refrigerated). Those with fresh fruit don't tend to last as long and MUST be refrigerated. Cake with whipped cream will only last 1 - 2 days, even in the fridge, so make sure you eat that quickly!