How to find palindrom dates

Today, for us Europeans, was a palindrome date: 22022022 I’ve always been fascinated by palindrome numbers, regardless of where I encounter them. So, today, inspired by the date I decided to find what are dates hide palindromes and wrote the code below: