You need to go to the local immigration office that serves the address on your TM30. Then get that office-specific and latest handout for the requirements for an initial in-country visa application.
As stated, some provinces require you to have a minimum of 15 calendar days, but some provinces such as Chiang Mai require you to have 15 working days or more. Check your current stamp, what type of entry and the date you are permitted to stay.
Here is general information from Immigration Bureau HQ which could give you a rough idea of what you may need, but you need to get one from your province.
*********************************************************************************************************
*******
/9.FOR-RETIREMENT-PURPOSES-50-YEARS-OLD-NON-O.pdf