Bash: date: Get Weekday from Date String

date --date "Feb 21 2017" +%A gets weekday from date string. The script above will return Tuesday. +%a will abbreviate Tuesday to Tue.