On Mon, 15 Jun 2015 08:29:12 -0700, Charles Mills wrote:

>But there are no dates or years in the question, only duration. And the 
>durations are by implication well under a year.
> 
I'll grant that I hijacked the topic by introducing the legal consequences
of calendar dates.  But "well under a year" is irrelevant.  Adding a mere
60 seconds to 2008-12-31 23:59:00 should give a date in 2008, not in
2009.  The interval from 2008-12-31 23:59:59 to 2009-01-01 00:00:01
is three seconds.  But if the program has kept formatted time stamps
from TIME macro, will the difference between CONVTOD of those two
values yield the correct result in 64-bit TOD format?  IBM shirks providing
the necessary documentation.  This should not be left to programmers'
intuition.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to