The day of arrival in Thailand is day 1 for visas, so 30 days is effectively 29 nights.
The day of arrival in Thailand is day 0 for quarantine, so 14 days quarantine is 15 nights.
I always liked that as well, then I decided to get a 50 page passport in 2019 and then covid came along. I'd almost like to "waste" some pages now.