AV 2351 then B6 216 at San Francisco
Denver → San Francisco → New York JFK
Timetable, San Francisco time
23:09AV 2351 from Denver at the gate
12:24B6 216 to New York JFK leaves the gatealso EY 8037
13 h 15 apart on the timetable, overnight
B6 216 leaves 13 h 15 after AV 2351 arrives on the timetable: more than half a day, so not a connection we count.