UA 5390 then DL 972 at LAX
Sacramento → Los Angeles → New York JFK
Timetable, Los Angeles time
09:32UA 5390 from Sacramento at the gate
08:25DL 972 to New York JFK leaves the gate
22 h 53 apart on the timetable, overnight
DL 972 leaves 22 h 53 after UA 5390 arrives on the timetable: more than half a day, so not a connection we count.