@Graham *****
Here's what happened:
1. On November 23rd, 2021, the poster entered Thailand on a 60 day single entry tourist visa. I knew they entered on a single entry tourist visa because the visa is stamped "TR". A single entry tourist is voided on entry. They could stay until January 21, 2022.
2. On December 6, 2021, the poster left Thailand.
3. On January 1, 2022, the poster returned to Thailand on a visa exempt. I know they entered on a visa exempt because of the ผ symbol next to the entry date. On a visa exempt, a person could stay for 29 days. They could stay until January 30, 2022.