Peel and core the apples. Cut into small chunks and place in a saucepan.
Add the very finely chopped dates.
Add the lemon juice and water. Cook covered under medium/ high heat until apples have puréed. Make sure you stir frequently so the compote does not stick to the bottom of the pan. It should take around 20 minutes.
When the apple are cooked purée them into a compote completely with a fork. Leave to cool down a little.
Add cinnamon and vanilla to taste.
This apple compote can be eaten warm, at room temperature or cold. It will keep in the fridge in an airtight container for at least 7 days.