Put the rich tea biscuits in a food processor and blitz until you have coarse crumbs.
Put the butter, sugar and vanilla in a heavy-bottomed pot and slowly melt over a low heat. Add the dates, turn the heat up and bring to the boil, stirring so nothing catches, then take the pan off the heat and mix in the beaten egg.