@Lo***
, you have to wait at least 2 weeks depending the office. Bangkok, Phuket, a few more accept tourism extension when your stamp remaining 45 days or less. Most when less than 30 days. But Pattaya, Samui, and a few others accept tourism extension application only in the last week of your stamp.