UA 1232 then WN 2366 at Boston
Denver → Boston → Baltimore
Timetable, Boston time
15:35UA 1232 from Denver at the gate
15:30WN 2366 to Baltimore leaves the gate
23 h 55 apart on the timetable, overnight
WN 2366 leaves 23 h 55 after UA 1232 arrives on the timetable: more than half a day, so not a connection we count.