I am currently geting back to writing shell scripts. I am a bit rusty.

I am having problems with the date command. I am simply trying to store the date inside a variable. But to achieve this, I am playing with this command on the console with different options. One of which, doesn't seam to work. But according to its --help, it should. What am I doing wrong ?

browserice@Linux:~$ date --help
Usage: date [OPTION]... [+FORMAT]
or: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]
Display the current time in the given FORMAT, or set the system date.

-d, --date=STRING display time described by STRING, not `now'
...

browserice@Linux:~$ date -d=%d/%m/%y
date: invalid date `=%d/%m/%y'
browserice@Linux:~$ date -d='%d/%m/%y'
date: invalid date `=%d/%m/%y'
browserice@Linux:~$ date -d="%d/%m/%y"
date: invalid date `=%d/%m/%y'
browserice@Linux:~$ date -d '%d%m%y'
date: invalid date `%d%m%y'
browserice@Linux:~$ date --date='%d/%m/%y'
date: invalid date `%d/%m/%y'
browserice@Linux:~$ date --date='%d%m%y'
date: invalid date `%d%m%y'