#!/usr/local/bin/rxx /* Rexx function for date conversion and arithmetic, range 0001-9999. | Not Sign: ^ Vertical bar: | | 03/16/90 Rework add/subtract to add days first or subtract them last. | 12/21/89 Define K as week of the year, Q as quarter of the year. | 10/14/88 Correct UNBASE internal function, support R6 DATE 'N' option. | 06/01/88 V3.0 - Add ISO dates and type 'B' dates, redefine type 'C'. EDATE is an extension of the REXX builtin DATE function. It allows specification of an optional date parameter (within 0001- 9999) as well as date computation by addition or subtraction. There is no correction for the switchover to Gregorian calendar. Normally, '2-digit year' format dates are returned. However, in lieu of future standards, year 2000-2099 and above is returned in 4 digits. All the parameters of DATE are supported by default. x = EDATE(