AY 958 then SK 709 at Helsinki
Copenhagen → Helsinki → Stockholm
Timetable, Helsinki time
15:35AY 958 from Copenhagen at the gate
15:30SK 709 to Stockholm leaves the gate
23 h 55 apart on the timetable, overnight
SK 709 leaves 23 h 55 after AY 958 arrives on the timetable: more than half a day, so not a connection we count.