MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Date calculation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Meena
Beginner


Joined: 03 Aug 2004
Posts: 20
Topics: 15

PostPosted: Wed Oct 20, 2004 12:06 am    Post subject: Date calculation Reply with quote

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
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Oct 20, 2004 4:31 am    Post subject: Reply with quote

Meena,

Please search before posting. Check this topic which discusses about date calculations.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2261&highlight=date

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group