DCL:MISC£±:DATELIB : Handling of Dates *#:Explanation of Subroutines
Calculates the date of Nth day after a given date.
DATEF1 : Calculates the Nth day after IDATE (NDATE).
DATEF2 : Calculates the Nth day after IY,ITD (NY,NTD).
DATEF3 : Calculates the Nth day after IY,IM,ID (NY,NM,ND).
CALL DATEF1(N,IDATE,NDATE)
CALL DATEF2(N,IY,ITD,NY,NTD)
CALL DATEF3(N,IY,IM,ID,NY,NM,ND)
IDATE, NDATE (I) Type 1 date. IY, NY (I) Year. IM, NM (I) Month. ID, ND (I) Day. ITD, NTD (I) Serially-counted day. N (I) Number of elapsed days.