The below i have script to find the yesterday.
-bash-3.00$ yesterday=`TZ=GMT+28 date +%Y%m%d%H%M`
-bash-3.00$ echo $yesterday
But the problem is , The server is on EST zone. it is GMT -4.00 hr now.. If the day light saving changes it will GMT -2.50 hr only.. somehow dynmically i have to handle it.
=`TZ=GMT+28 date +%Y%m%d%H%M`
Can you please help me in this.