How can I get the list of all dates from today 21.02.2012 (which is a palindrome) up to say next $n$ years? Then finding the other palindromes are not difficult. I could not find an easy way to generate the list using DateList.
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
|||
|
|
|
Might I suggest a different approach? Assuming that you are interested in dates in the format
Gives all valid palindromic dates. You could filter out years below 1000 if you don't want those:
|
|||
|
|
|
This is how you can get the dates:
(I am approximating the year for 365 days for practical purposes---it's good enough here). Then we can look for palindromes in different date formats:
|
|||
|
|

