FR 9840 then TP 828 at Lisbon
Cologne → Lisbon → Milan
Timetable, Lisbon time
22:40FR 9840 from Cologne at the gate
20:00TP 828 to Milan leaves the gate
21 h 20 apart on the timetable, overnight
TP 828 leaves 21 h 20 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.