EI 3393 then EI 3228 at Dublin
Leeds → Dublin → Glasgow
Timetable, Dublin time
17:00EI 3393 from Leeds at the gate
15:25EI 3228 to Glasgow leaves the gate
22 h 25 apart on the timetable, overnight
EI 3228 leaves 22 h 25 after EI 3393 arrives on the timetable: more than half a day, so not a connection we count.