$(date +%F)
There is also
get year-month-day hour:minute:second from date
DATE=`date +%Y-%m-%d`
get year-month-day hour:minute:second from date
DATE=`date +%Y-%m-%d:%H:%M:%S`
http://stackoverflow.com/questions/1401482/yyyy-mm-dd-format-date-in-shell-script