Hi arunprasadlv,
I know, it is a problem to get the date from yesterday or x days back under unix. We often talk about in this forum. If your problem exist only for yesterday, I have a pragmatically idea for you.
Make an entry in your crontab like this :
59 23 * * * date +%m%d%Y > yesterday.file
When your script is running, read the file and you get the day information from yesterday.
If you have furter problems to read the file and to get the right format back,
let us known.