I am trying to generate a list of dates for each day of a given week.
For example, this week, the week of September 5th would generate the following list of dates
Sunday Sep 5th 00:00
Monday Sep 6th 00:00
Tuesday Sep 7th 00:00
Wednesday Sep 8th 00:00
Thursday Sep 9th 00:00
Friday Sep 10th 00:00
Saturday Sep 11th 00:00
Any idea of a quick and easy way to achieve this?
Thanks