SAS_Institute
A00-201 · Question #82
23: 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…
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
23: 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
(33 responses)- A9% (3)
- B6% (2)
- C82% (27)
- D3% (1)
Community Discussion
No community discussion yet for this question.