I want to retrieve the date of the first Sunday of last year, but i have a problem
$date = new DateTime('first sunday of august last year');
gives me as a result :
DateTime Object ( [date] => 2020-08-01 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Berlin )
// saturday
but I want :
DateTime Object ( [date] => 2020-08-02 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Berlin )
// sunday
is this a bug or am I at fault ?