AZ 718 then W6 2442 at Athens
Rome → Athens → Budapest
Timetable, Athens time
18:35AZ 718 from Rome at the gate
09:55W6 2442 to Budapest leaves the gate
15 h 20 apart on the timetable, overnight
W6 2442 leaves 15 h 20 after AZ 718 arrives on the timetable: more than half a day, so not a connection we count.