DCL:MISC£±:DATELIB : Handling of Dates *#:Explanation of Functions
Calculates the number of days that has elapsed..
NDATE1 : Calculates the number of days (N) that has elapsed between IDATE and NDATE.
NDATE2 : Calculates the number of days (N) that has elapsed between IY,ITD and NY,NTD.
NDATE3 : Calculates the number of days (N) that has elapsed between IY,IM,ID and NY,NM,ND.
NDATE1(IDATE,NDATE)
NDATE2(IY,ITD,NY,NTD)
NDATE3(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. NDATE1 (I) Value of function that gives the number of elapsed days for Type 1 dates. NDATE2 (I) Value of function that gives the number of elapsed days for Type 2 dates. NDATE3 (I) Value of function that gives the number of elapsed days for Type 3 dates.