AY 957 then DY 2063 at Copenhagen
Helsinki → Copenhagen → Riga
Timetable, Copenhagen time
12:15AY 957 from Helsinki at the gate
11:55DY 2063 to Riga leaves the gate
23 h 40 apart on the timetable, overnight
DY 2063 leaves 23 h 40 after AY 957 arrives on the timetable: more than half a day, so not a connection we count.