@Heather *********
you are in luck, (y)
Chiang Mai allows people to apply for extensions of stays when they have 45 days or less left on their entry stamp.
Seeing as you came in on a 30 day visa exempt entry you can go get your 30 day extension any time you want to.