getting a previous date in bash/unix?

I am looking to get previous date in unix / shell script . I am using the following code date -d ’1 day ago’ +...