TG 340 then VZ 226 at Bangkok
Dhaka → Bangkok → Ubon Ratchathani
Timetable, Bangkok time
05:30TG 340 from Dhaka at the gate
18:00VZ 226 to Ubon Ratchathani leaves the gate
12 h 30 apart on the timetable
VZ 226 leaves 12 h 30 after TG 340 arrives on the timetable: more than half a day, so not a connection we count.