3 ms·
That doesn't work unfortunately, you need the brackets - DateTime has to be on the left.
by carl_dr 4y ago
That doesn't work unfortunately, you need the brackets - DateTime has to be on the left.
- AkshatJ27 4y agoah, my bad. This should work for 134: `ruby -r date -e '0.upto(4e9){b=DateTime.new(0)+_1/86400r;puts b.strftime"%y-%m-%d %H:%M:%S"if(c=b.strftime"%y%m%d%H%M%S")==c.reverse}'`