Palindrome dates: Difference between revisions
→{{header|UNIX shell}}
No edit summary |
|||
Line 1,612:
=={{header|UNIX shell}}==
printf format, rev and date commands are the keys :
<lang shell>is_palyndrom_date() { date -d "$1" 1>/dev/null 2>&1 && echo "$1" ; }
for _H in {2..9}; do
|