| Meena Beginner
 
 
 Joined: 03 Aug 2004
 Posts: 20
 Topics: 15
 
 
 | 
			
				|  Posted: Wed Oct 20, 2004 12:06 am    Post subject: Date calculation |   |  
				| 
 |  
				| i have a requirement like this. Given a date , i want to find in which month(in the last three years from the current date) the date lies.
 For exmaple.
 if the date is 2001-10-20 and i have 36 different ranges..
 like current month , prev month..likewise i have 36 ranges for the last three years , i want to find out in which range this date lies.
 
 Any pointers as to how we can use the date functions in cobol to achieve this.
 
 Thanks
 Meena
 |  |