Start by preheating your oven to 375°F (190°C).
In a mixing bowl, beat the softened cream cheese, granulated sugar, and vanilla extract together until smooth and creamy.
Open the tubes of refrigerated crescent roll dough and carefully unroll them, separating them into four rectangles.
On a parchment-lined baking sheet, lay out the rectangles of dough, scoring a border around each rectangle.
Spoon a generous amount of the cream cheese filling into the center of each rectangle.
Top the cream cheese filling with a dollop of your chosen jam.
Using a pastry brush, lightly brush the edges of the dough with the beaten egg.
Sprinkle sliced almonds over the top of the jam and cheese filling.
Place the baking sheet in the preheated oven and bake for 15-20 minutes, or until the danishes are puffed and golden brown.
Once baked, remove the danishes from the oven and let them cool slightly before serving.