I have to find the month difference between the start date and stop date(for example). How can I do that? Is there any function to use that in COBOL? Elaborately :-
For example, I am having start date as 10/27/06 and end date as 08/31/08. Now I want to find the month difference between these two date? Is there any function in COBOL to find out the month difference?
Thanx for your help. Actually I wanted to know if there is any in-built function or so to calcualte the month difference between two dates provided. However we have done that by using the following DB2 call like -