Ever wanted to capture the output of a command into a variable in bash? It's simple!
variable=$(command) date=$(date)