DL 640 then DL 2398 at Atlanta
San Francisco → Atlanta → New York JFK
Timetable, Atlanta time
15:33DL 640 from San Francisco at the gate
15:16DL 2398 to New York JFK leaves the gate
23 h 43 apart on the timetable, overnight
DL 2398 leaves 23 h 43 after DL 640 arrives on the timetable: more than half a day, so not a connection we count.