Back|Forward
DCL:MISC£±:DATELIB : Handling of Dates *#
7.1 Summary
This is a package of subroutines and functions that handle dates. The following
terms will be used in the explanation of this package.
- Type 1 date (IDATE) - Date is shown by an integer, with the last two digits
represent day, the third and fourth digits, month, and all others in front of
them, year. Example: 19920401.
- Type 2 date (IY,ITD) - Date is shown by a set of two integers representing
year and a serially-counted day. Example: 1992, 92.
- Type 3 date (IY,IM,ID) - Date is shown by a set of three integers
representing year, month, and day. Example: 1992, 4, 1.
- Weekday number - Shown by integral values of 1: Sunday; 2: Monday; 3: Tuesday;
4: Wednesday; 5: Thursday; 6: Friday; and 7: Saturday.