<?php $now = new DateTimeImmutable; $next = new DateTimeImmutable("last day of next week - 4 weekdays"); var_dump($now->format('d.m.Y'), $next->format('d.m.Y'), ((array) $next->diff($now))['days']);
You have javascript disabled. You will not be able to edit any code.