IB 792 then EC 1704 at Madrid
Vienna → Madrid → Nice
Timetable, Madrid time
15:25IB 792 from Vienna at the gatealso LA 1636, VY 5075, AT 5497
13:10EC 1704 to Nice leaves the gate
21 h 45 apart on the timetable, overnight
EC 1704 leaves 21 h 45 after IB 792 arrives on the timetable: more than half a day, so not a connection we count.