B6 387 then UA 2397 at LAX
Boston → Los Angeles → Newark
Timetable, Los Angeles time
22:51B6 387 from Boston at the gate
22:00UA 2397 to Newark leaves the gate
23 h 09 apart on the timetable, overnight
UA 2397 leaves 23 h 09 after B6 387 arrives on the timetable: more than half a day, so not a connection we count.