nerdexam
SAS_Institute

A00-280 · Question #40

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';
  • Csasdate = put(chardate,date9.);
  • Dsasdate = date(chardate,date9.);

How the community answered

(38 responses)
  • A
    84% (32)
  • B
    5% (2)
  • C
    3% (1)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full A00-280 Practice