At 10:03 -0500 on 06/12/2015, Mike Schwab wrote about Re: STCK question:

> I can calculate the date difference by hand (in C based off of the character representation of the date) of course. Unless someone knows of a nifty method to get the elapsed number of days from the data that I have?

 Janet

 1972/01/03
- 1972/01/01
= 0000/00/02

How are you going to do the math? Also once the span goes over 31 days (ie: You get a February date) it gets complicated. In a prior message I suggested converting to a Julian date (YYYYDDD) which would handle a 366 day span.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to