In order for the date values 05May1955 and 04Mar2046 to be read correctly,
what value must the YEARCUTOFF= option have?
a. a value between 1947 and 1954, inclusive
b. 1955 or higher
c. 1946 or higher
d. any value
以上是完整题目,答案为D的原因是“As long as you specify an informat with the correct field width for reading the entire date
value, the YEARCUTOFF= option doesn't affect date values that have four-digit years.”
即:YEARCUTOFF是为了明确缩写为两位数的年份,如1920与2020缩写都是20.但是对于YYYY这样的格式不会产生影响,因为1955和2046这样的年份已然明确
SAS online tutor (base and intermediate) states that: How Four-Digit Years Are Handled
Remember, the value of the YEARCUTOFF= system option affects only two-digit year values. A date value that contains a four-digit year value will be interpreted correctly even if it does not fall within the 100-year span set by the YEARCUTOFF= system option.