SK 9 then SK 85 at Arlanda
Lulea → Stockholm → Visby
Timetable, Stockholm time
15:05SK 9 from Lulea at the gate
12:10SK 85 to Visby leaves the gate
21 h 05 apart on the timetable, overnight
SK 85 leaves 21 h 05 after SK 9 arrives on the timetable: more than half a day, so not a connection we count.