HP3000-L Archives

February 2006, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eben Yong <[log in to unmask]>
Reply To:
Eben Yong <[log in to unmask]>
Date:
Wed, 8 Feb 2006 16:44:06 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
I'm slightly embarrassed to even post this question, as I feel I should be 
able to produce this code in a snap, but for some reason my brain must be 
somewhat tired today.  In any event, excuses aside, here is the question:

Would someone pls share their COBOL code that will calculate the 
difference between two given dates, and return the results in terms of 
years, months, and days?

For example, the difference between 20060125 and 20040611 is 1 year 7 
months and 14 days.  

Care to share?  
Thanks as always,
Eben Yong
Health Plan of San Mateo

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2