Prunes, or dried plums, have a similar texture and will make a decent substitute. Dates will give the cake a unique rich, caramel flavor that the prunes will not replicate.