@Andrew *******
correct you have until 11:59 on the 15th to stamp out of thailand or you're on overstay.
Now if you're flying out as a rule the immigration officers at the airport waive the 500 baht a day overstay fine if it's less than 24 hours. BUT if you're leaving the country by land you will pay the fine for every day