REXX SuperSet/2 Date Functions
- GrxDateToBase(datestr, [fmtstr])
- returns standard REXX basedate data type for the formatted string "datestr"
- "fmtstr", which may be any of "L", "N", or "S", controls the format of the returned value;
- an incorrectly formatted value in "datestr" causes an error to be returned
- GrxDateToBase("19 Sep 1998")
returns the value "729650"
- GrxBaseToDate(datestr, [fmtstr])
- returns the formatted REXX date for the standard REXX basedate value "datestr"
- "fmtstr", which may be any of "L", "N", or "S", controls the format of the returned value
- an incorrectly formatted value in "datestr" causes an error to be returned
- GrxBaseToDate("729650","L")
returns the value "19 September 1998"
Next