So I have one date as a string:
I need to get the 5 DateTime objects from it that correspond to the five weekdays (Monday to Friday) in that week, e.g. for the date above I need 2011-05-30 to 2011-06-03.
How to do that? I know I can do:
$dateTime = new DateTime('2011/06/01');
But I am kinda stuck there :) I know, embarrassing.