- Input Date in yyyymmdd (20180328) format.
- Get list of two previous months date (yyyymmdd).
- Output should be store in variable with format yyyymmdd so that I can use it later to run xyz in loop with all previous three months date.
Eg: If I enter 20170828 ,then it will return me 20170828 20170728 20170628 and I can use this outputs as input to xyz operation without calling xyz 3 separate times