nerdexam
SAS_Institute

A00-211 · Question #204

The following SAS program is submitted: data work.new; mon = 3; day = 23; year = 2000; date = mdy(mon,day,year); run; Which one of the following is the value of the DATE variable?

The correct answer is C. a numeric value of 14692, which represents the SAS date value for March 23, 2000. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data work.new; mon = 3; day = 23; year = 2000; date = mdy(mon,day,year); run; Which one of the following is the value of the DATE variable?

Options

  • Aa character string with the value '23mar2000'
  • Ba character string with the value '03/23/2000'
  • Ca numeric value of 14692, which represents the SAS date value for March 23, 2000
  • Da numeric value of 3232000, which represents the SAS date value for March 23, 2000

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    82% (28)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice