AY 812 then FR 9856 at Helsinki
Stockholm → Helsinki → Vienna
Timetable, Helsinki time
16:15AY 812 from Stockholm at the gate
15:20FR 9856 to Vienna leaves the gate
23 h 05 apart on the timetable, overnight
FR 9856 leaves 23 h 05 after AY 812 arrives on the timetable: more than half a day, so not a connection we count.