@Armando *********
in chiang mai immigration- they add 30 days from the date on stamp
i have to extend my student visa every three months they extend from stamp, I go weeks before my current stamp expires just to get it over with immigration is always backed up end up taking all day or two days - so going on your last day is a bad idea