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?
A. a character string with the value '23mar2000'
B. a character string with the value '03/23/2000'
C. a numeric value of 14692, which represents the SAS date value for March 23, 2000
D. a numeric value of 3232000, which represents the SAS date value for March 23, 2000
Click Comment link to get answer
Answer is C
ReplyDeleteC
ReplyDeletemdy creates only SAS date value
ReplyDeleteso the Ans is:
C. a numeric value of 14692
c
ReplyDeleteHey guys I think it's C!!!
ReplyDeletec
ReplyDeleteC
ReplyDeletePlease explain anyone.
ReplyDeletego to to the ques 93's comments section,you will get the answer as it counts the days starting from 1jan,1960
DeleteC
ReplyDelete