nerdexam
SAS_Institute

A00-281 · Question #44

Which statement correctly creates a SAS date variable from a character variable?

The correct answer is A. sasdate = input(chardate,date9.). See the full explanation below for the reasoning.

Question

Which statement correctly creates a SAS date variable from a character variable?

Options

  • Asasdate = input(chardate,date9.);
  • Bsasdate = 'chardate'd;
  • Csasdate = put(chardate,date9.);
  • Dsasdate = date(chardate,date9.);

How the community answered

(19 responses)
  • A
    84% (16)
  • C
    5% (1)
  • D
    11% (2)

Community Discussion

No community discussion yet for this question.

Full A00-281 Practice