UA 1818 then UA 1981 at LAX
Tampa → Los Angeles → Newark
Timetable, Los Angeles time
11:30UA 1818 from Tampa at the gate
11:15UA 1981 to Newark leaves the gate
23 h 45 apart on the timetable, overnight
UA 1981 leaves 23 h 45 after UA 1818 arrives on the timetable: more than half a day, so not a connection we count.