Determines a Person’s Social Security Retirement Date (SSRD), based upon type and law year in accordance with the following:
For law years prior to 1984: age 65
For law years on or after 1984: full retirement age is based on calendar year of birth as follows:
GETSSRD(CalcType, LawYear)
CalcType: this indicates how Social Security Retirement Date is to be calculated as follows:
LawYear: the law year to be used in the determination of SSRD (see above).
GETSSRD(0, YEAR(CALCDATE)) calculates SSRD using the method used by the Social Security Administration using the law in effect as of the calculation date.
GETSSRD(0, MAX(1984,YEAR(CALCDATE))) calculates SSRD using the method used by the Social Security Administration always using at least the current law.