UA 798 then UA 3697 at Newark
Charlotte → New York → Milwaukee
Timetable, New York time
08:43UA 798 from Charlotte at the gate
08:40UA 3697 to Milwaukee leaves the gate
23 h 57 apart on the timetable, overnight
UA 3697 leaves 23 h 57 after UA 798 arrives on the timetable: more than half a day, so not a connection we count.