SAS_Institute
A00-201 · Question #59
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
(31 responses)- A3% (1)
- B16% (5)
- C74% (23)
- D6% (2)
Community Discussion
No community discussion yet for this question.