LH 8951 then NH 7 at San Francisco
San Diego → San Francisco → Tokyo Narita
Timetable, San Francisco time
11:25LH 8951 from San Diego at the gate
11:05NH 7 to Tokyo Narita leaves the gatealso TG 6095
23 h 40 apart on the timetable, overnight
NH 7 leaves 23 h 40 after LH 8951 arrives on the timetable: more than half a day, so not a connection we count.