nerdexam
SAS_Institute

A00-211 · Question #205

The following SAS DATA step executes on Monday, April 25, 2000: data newstaff; set staff; start_date = today(); run; Which one of the following is the value of the variable START_DATE in the output…

The correct answer is C. the numeric value 14725, representing the SAS date for April 25, 2000. See the full explanation below for the reasoning.

Question

The following SAS DATA step executes on Monday, April 25, 2000:

data newstaff; set staff; start_date = today(); run; Which one of the following is the value of the variable START_DATE in the output data set?

Options

  • Aa character string with the value '04/25/2000'
  • Ba character string with the value 'Monday, April 25, 2000'
  • Cthe numeric value 14725, representing the SAS date for April 25, 2000
  • Dthe numeric value 04252000, representing the SAS date for April 25, 2000

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    17% (4)
  • C
    75% (18)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice