Fog Creek Software
Discussion Board




Palindrome

problem:

this year on October 2, 2001, the date in MMDDYYYY format will be a palindrome (same forwards as backwards).
10/02/2001
when was the last date that this occurred on?

Your solution:
08/31/1380.

My issue: this works only because in the US we format the date as MMDDYYYY.
However. to the best of my knowledge, the US is the only country that formats a date this way.  The US did not exist in 1380. Therefore, 10/02/2001 is the first time that the date in that format was a palindrome.

Davide

Davide Andrea
Wednesday, December 12, 2001

*  Recent Topics

*  Fog Creek Home