UX 1676 then EC 1704 at Madrid
Zurich → Madrid → Nice
Timetable, Madrid time
13:15UX 1676 from Zurich at the gatealso EY 4332, AM 6865
13:10EC 1704 to Nice leaves the gate
23 h 55 apart on the timetable, overnight
EC 1704 leaves 23 h 55 after UX 1676 arrives on the timetable: more than half a day, so not a connection we count.