AA 5782 then B6 223 at JFK
Pittsburgh → New York → Los Angeles
Timetable, New York time
08:23AA 5782 from Pittsburgh at the gate
08:00B6 223 to Los Angeles leaves the gate
23 h 37 apart on the timetable, overnight
B6 223 leaves 23 h 37 after AA 5782 arrives on the timetable: more than half a day, so not a connection we count.