lol, all I'm saying is that a country where you're primarily tax liable has everything to do with your capital gains. It takes you an exemption in a DTA to not be tax liable for it.
Your reply says more about your own capacities than mine.
if you live in Thailand but make money from selling an apartment elsewhere, it has everything to do with Thailand. If that's where you live. It comes down to the applicable DTA where you owe tax over that particular transaction, but you can't state that a country where you primarily pay your taxes has nothing to do with it.
the last date you can go is the date that's stamped in your passport. They already take a day off from the supposed 60, you don't need to do that yourself.