$date = #תאריך#; $lastDayOfMonth = date(‘t’, strtotime($date)); $result = $lastDayOfMonth + 60; return $result;