At 3:51 PM -0500 1/19/00, [log in to unmask] wrote:
>I just got a question on date calculations from one of our Cobol programmers,
>but its been a long time since I used the calendar / date intrinsics.
>Basically, the programmer wants to display the current date in the format
>mm/dd/yy and then do a calculation of the current date + nn days, then display
>the revised date in the same format.
>
>This is a work scheduling application that has been in production for some
>time,
>and it failed in the Y2K (they just found out). The process they used before
>was rather unbelievable, they calculated the julian date and did all
>manipulations without using any intrinsics. It is quite hard to follow. They
>want to get it right this time, so any help would be appreciated.
Please see http://jazz.external.hp.com/src/year2000/dateintr.txt for
detailed information on the Y2K compliant date intrinsics.
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330