Multiple choice technology programming languages

A raw data record is shown below: 07Jan2002 Which one of the following informats would read this value and store it as a SAS date value?

  1. date9.

  2. ddmonyy9.

  3. ddMMMyy9.

  4. ddmmmyyyy9.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The DATE9. informat reads dates in the format DDMMMYY (like 07JAN2002). DDMMMYY9. and DDMMYYYYYYY9. are not valid SAS informats. The standard SAS date informat for two-digit day, three-letter month abbreviation, and two or four-digit year is DATE9.