B6 315 then UA 581 at San Francisco
New York JFK → San Francisco → Cleveland
Timetable, San Francisco time
15:06B6 315 from New York JFK at the gatealso EY 8016
12:45UA 581 to Cleveland leaves the gate
21 h 39 apart on the timetable, overnight
UA 581 leaves 21 h 39 after B6 315 arrives on the timetable: more than half a day, so not a connection we count.