SK 1842 then SK 117 at Arlanda
Rome → Stockholm → Malmo
Timetable, Stockholm time
23:55SK 1842 from Rome at the gate
17:55SK 117 to Malmo leaves the gate
18 h apart on the timetable, overnight
SK 117 leaves 18 h after SK 1842 arrives on the timetable: more than half a day, so not a connection we count.