LH 997 then 4Y 900 at Frankfurt
Amsterdam → Frankfurt am Main → Dubrovnik
Timetable, Frankfurt am Main time
15:50LH 997 from Amsterdam at the gate
09:254Y 900 to Dubrovnik leaves the gate
17 h 35 apart on the timetable, overnight
4Y 900 leaves 17 h 35 after LH 997 arrives on the timetable: more than half a day, so not a connection we count.