WN 162 then AA 382 at LAX
Phoenix → Los Angeles → Boston
Timetable, Los Angeles time
14:30WN 162 from Phoenix at the gate
13:35AA 382 to Boston leaves the gate
23 h 05 apart on the timetable, overnight
AA 382 leaves 23 h 05 after WN 162 arrives on the timetable: more than half a day, so not a connection we count.