DL 5098 then DL 747 at JFK
Toronto → New York → Los Angeles
Timetable, New York time
14:00DL 5098 from Toronto at the gate
11:00DL 747 to Los Angeles leaves the gate
21 h apart on the timetable, overnight
DL 747 leaves 21 h after DL 5098 arrives on the timetable: more than half a day, so not a connection we count.