Hi, would you tell me how I can get the last month of the year? For example, now is 200401, my wanted value is 200312. I know that the code of getting last day can be :
TZ="$TZ+24"
export TZ
YESTERDAY=`date +%Y%m%d`
can getting last month be similar to this?
Thank you
TZ="$TZ+24"
export TZ
YESTERDAY=`date +%Y%m%d`
can getting last month be similar to this?
Thank you