HV 5956 then LO 268 at Schiphol
Lisbon → Amsterdam → Warsaw
Timetable, Amsterdam time
23:25HV 5956 from Lisbon at the gate
19:45LO 268 to Warsaw leaves the gate
20 h 20 apart on the timetable, overnight
LO 268 leaves 20 h 20 after HV 5956 arrives on the timetable: more than half a day, so not a connection we count.