BA 8341 then AC 4438 at San Francisco
New York JFK → San Francisco → Fresno
Timetable, San Francisco time
23:54BA 8341 from New York JFK at the gate
22:35AC 4438 to Fresno leaves the gatealso UA 4699, LH 8883
22 h 41 apart on the timetable, overnight
AC 4438 leaves 22 h 41 after BA 8341 arrives on the timetable: more than half a day, so not a connection we count.