Contao\Date::getWeekEnd PHP Method

getWeekEnd() public method

Return the end of the week as timestamp
public getWeekEnd ( integer $intStartDay ) : integer
$intStartDay integer The week start day
return integer The Unix timestamp
    public function getWeekEnd($intStartDay = 0)
    {
        return strtotime('+1 week', $this->getWeekBegin($intStartDay)) - 1;
    }