@Ci***
. In that case if you wish to avoid the visa exempt stamp, you are better off to interline so your luggage is checked right through. However, I don't believe a in-out stamp on the same day will count against you. What immigration is clamping down on is people who stay 30 days - extend - then border bounce, maximising their stay in Thailand. An in-out on the same day will not set off any alarms