SAS_Institute
A00-202 · Question #15
Assume today is Tuesday, July 23, 2002. Which one of the following statements submitted at the beginning of a SAS session assigns the value Tuesday, July 23, 2002 to the macro variable START?
The correct answer is B. %let start = %sysfunc(today(),weekdate.). See the full explanation below for the reasoning.
Question
Assume today is Tuesday, July 23, 2002. Which one of the following statements submitted at the beginning of a SAS session assigns the value Tuesday, July 23, 2002 to the macro variable START?
Options
- A%let start = today(),format=weekdate.;
- B%let start = %sysfunc(today(),weekdate.);
- C%let start = today(),weekdate.;
- D%let start = %sysfunc(%today(),weekdate.);
How the community answered
(29 responses)- A3% (1)
- B83% (24)
- C10% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.