Datum hacks date datetime strtotime

echo date('d.m.Y', strtotime('this week monday')) . PHP_EOL;
echo date('d.m.Y', strtotime('previous week sunday')) . PHP_EOL;

Ausgabe

04.01.2021 03.01.2021