HV 5956 then KL 1317 at Schiphol
Lisbon → Amsterdam → Warsaw
Timetable, Amsterdam time
23:25HV 5956 from Lisbon at the gate
17:00KL 1317 to Warsaw leaves the gate
17 h 35 apart on the timetable, overnight
KL 1317 leaves 17 h 35 after HV 5956 arrives on the timetable: more than half a day, so not a connection we count.