Convert a 2- or 3-digit year to 4 digits
Convert a 2- or 3-digit year to 4 digits and return the value.
- INYEAR
Year value to be converted. The input year may be one of the following:
2-digit year: 00-99 3-digit year: 100-199 4-digit year: 1900-2099
- OUTYEAR
4-digit output year. The value is returned as an integer in a name variable.
The input year 98 will be converted to 1998 and returned in the variable YR.
The input year 02 will be converted to 2002 (assuming the current year is 1998) and returned in the variable YR. See user note 1.
The input year 105 will be converted to 2005 and returned in the variable YR.
The input is compared with the allowable ranges, converted to 4 digits and returned.
None.
An error occurred updating the TAE variable block. Contact the system administrator if problem persists.
The input year was outside the allowable range. Check that the input year is in the range [00,199] or [1900,2099].