Pastry cream stays good for up to 5 days in the fridge. After that, it may start to weep.