22-11-22 22:11:22
1–10 of 40 posts
A palindrome date, time and datetime (:
Re: 22-11-22 22:11:22
#2I wonder if there was a single person in 1922 that had the same thought.
Re: 22-11-22 22:11:22
#3I wonder if there was a single person in 1922 that had the same thought.
...or last year, on Nov. 12th.
Re: 22-11-22 22:11:22
#4Coming up soon in UTC :)
Re: 22-11-22 22:11:22
#5Re: 22-11-22 22:11:22
#62022-11-22 22:11:22.02
Re: 22-11-22 22:11:22
#7Re: 22-11-22 22:11:22
#8Earlier quoted context omitted.
...or last year, on Nov. 12th.
or 11-11-11 11:11:11 or 01-01-01 10:10:10 Interview question: write a program to list them all!
Sounds like a great Code Golf contest.
ruby -e 'require"date";a=DateTime.new(0,1,1,0,0,0);(0..4e9).each{|d|b=(a+Rational(d,86400));c=b.strftime("%y%m%d%H%M%S");puts b.strftime("%y-%m-%d %H:%M:%S")if c==c.reverse}'
About the most inefficient anyone could make it, but I think it works!
Re: 22-11-22 22:11:22
#9happy 22-11-22 everyone, can't wait to wait for 23-11-23
Re: 22-11-22 22:11:22
#10I still regret missing Michael Scott's 05-05-05 party. It only happens once every billion years.