UA 451 then AA 1841 at Phoenix
San Diego → Phoenix → Ontario
Timetable, Phoenix time
23:59UA 451 from San Diego at the gate
21:35AA 1841 to Ontario leaves the gate
21 h 36 apart on the timetable, overnight
AA 1841 leaves 21 h 36 after UA 451 arrives on the timetable: more than half a day, so not a connection we count.