Happy palindrome day 9102019 . . . well, for most of the world :-)

In my country, Ukraine, when people write a date on paper they start from day, followed by month, and then year. They would omit any zeros if a single digit can be used for a month or a day. So today would simply be 9-10-2019. This is obviously a palindrome, which is a good occasion to show off some relevant Wolfram Language functions. A computer would “understand” that today is indeed a palindrome in the following way:

In[]:= PalindromeQ[DateString[Today,{"DayShort","MonthShort","Year"}]]
Out[]= True 

PalindromeQ is a nice function! And DateString is a very powerful one :slight_smile: The curious case of today’s palindrome was picked up by some social media but not American one. That’s why obviously:

US is the only country to insist on using mm-dd-yyyy for some quite exhaustively discussed reasons - see The Guardian for instance.

But don’t despair, our American friends had their palindrome a month earlier:

ScreenShot2019-10-09at4.03.36PM.png

They even had their palindrome week-&-a-bit (10-days) if you write the year in a short way, what a nice unique gem for countries accepting a rare date notation! Let’s explain to computer the curious case of palindrome week-&-a-bit:

Well, happy palindrome date wherever you are - enjoy it till it lasts :slight_smile:

9102019.nb (11.9 KB)

9 Likes