Best to check with a visa agent as she will call to the closest border to you and ask them if you can do it in the same day as some borders want you to spend a night there. I did my dtv initial run to Cambodia the same day by using the agent on soi 6 she made sure i could cross and come back right away.
Just to give some advice, recently last month the Newish condo, built 6 months ago, had plumbing problems in at least two of the units I stayed in. Sewer gas entered both rooms I stayed in over two months, especially at night. I had to plug all drains to not have this happen. Once a gain a 6 month old condo with 12 floors.