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