Jump to content

Palindrome dates: Difference between revisions

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" ; }
date -d "$1" 1>/dev/null 2>&1 && echo "$1"
}
 
for _H in {2..9}; do
40

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.