Preheat your oven to 350°F (175°C) and grease a 9x5-inch loaf pan.
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
In a separate large bowl, cream together the softened butter and granulated sugar until light and fluffy.
Beat in the eggs, one at a time, followed by the vanilla extract.
Gradually add the flour mixture to the butter mixture, alternating with the milk. Begin and end with the flour mixture, mixing just until combined.
Gently fold in the chopped dates and walnuts until they are evenly distributed throughout the batter.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake for about 50-60 minutes, or until a toothpick inserted into the center comes out clean.
Once baked, remove the bread from the oven and let it cool in the pan for about 10 minutes. Then, transfer the bread to a wire rack to cool completely before slicing.