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