LH 2440 then DY 2063 at Copenhagen
Munich → Copenhagen → Riga
Timetable, Copenhagen time
12:25LH 2440 from Munich at the gate
11:55DY 2063 to Riga leaves the gate
23 h 30 apart on the timetable, overnight
DY 2063 leaves 23 h 30 after LH 2440 arrives on the timetable: more than half a day, so not a connection we count.