UA 5982 then B6 324 at LAX
Santa Barbara → Los Angeles → New York JFK
Timetable, Los Angeles time
12:02UA 5982 from Santa Barbara at the gate
11:40B6 324 to New York JFK leaves the gate
23 h 38 apart on the timetable, overnight
B6 324 leaves 23 h 38 after UA 5982 arrives on the timetable: more than half a day, so not a connection we count.