AT 5164 then B6 616 at San Francisco
Los Angeles → San Francisco → New York JFK
Timetable, San Francisco time
11:07AT 5164 from Los Angeles at the gate
23:58B6 616 to New York JFK leaves the gatealso SQ 1491, EY 8242
12 h 51 apart on the timetable
B6 616 leaves 12 h 51 after AT 5164 arrives on the timetable: more than half a day, so not a connection we count.