$(date +"%Y-%m-%d") $(date +"%F") # equivalent to above $(date +"$s") # seconds since epoch $(date +"%Y-%m-%d-%H:%M:%S") $(date +"%F-%X") # equivalent to above