I have two date fileds
WS-BG-DATE YYYYMMDD
WS-END-DATE YYYYMMDD
Between these two range of dates, I need to find whether they have full months or non full months. If it is mix of some full months and non full months, how to get the days left?
Please someone help me.
Exmaple:
WS-BG-DATE 20140101
WS-END-DATE 20140414
Here full months will be 20140101 to 20140401 and 20140401 to 20140414 are number of days left. How to achieve this in a cobol program?