EW 7170 then X3 2846 at Munich
Hamburg → Munich → Funchal
Timetable, Munich time
08:30EW 7170 from Hamburg at the gate
08:25X3 2846 to Funchal leaves the gate
23 h 55 apart on the timetable, overnight
X3 2846 leaves 23 h 55 after EW 7170 arrives on the timetable: more than half a day, so not a connection we count.