A3 661 then A3 790 at Athens
Milan → Athens → Ljubljana
Timetable, Athens time
14:35A3 661 from Milan at the gate
07:55A3 790 to Ljubljana leaves the gate
17 h 20 apart on the timetable, overnight
A3 790 leaves 17 h 20 after A3 661 arrives on the timetable: more than half a day, so not a connection we count.