Preheat the oven to 350°F (180°C). Spray a 9-inch (23 cm) square baking pan with cooking spray.
Stir together the dates, flours, granulated sugar, and baking powder in a medium bowl. Use a rubber spatula to stir in the egg and oil until well mixed. The