UA 2646 then WN 2788 at Phoenix
Newark → Phoenix → Ontario
Timetable, Phoenix time
11:14UA 2646 from Newark at the gate
11:00WN 2788 to Ontario leaves the gate
23 h 46 apart on the timetable, overnight
WN 2788 leaves 23 h 46 after UA 2646 arrives on the timetable: more than half a day, so not a connection we count.