How to tar and untar files in UNIX?

tar

tar -czvf folder-$(date "+%Y%m%d").tar.gz folder

untar

tar -zxvf folder-20090120.tar.gz