Preheat oven to 325 degrees. Line and spray a sheet pan. Mix flour, sugars, leaveners, and spices. Add apples and dates. Add eggs, vanilla, and oil. Pour into sheet pan and smooth into an even layer. Bake 15-20 minutes. While the cake is baking, make the caramel frosting. Allow the cake to cool and cut into six equal pieces.