The following SAS program is submitted:
libname temp ‘SAS data library’;
data work.new;
set temp.jobs;
format newdate mmddw10.;
mdate = month(newdate);
ddate = weekday(newdate);
run;
proc print data = work.new; run;
The variable NEWDATE contains the SAS date value for April 15. 2005. What output is produced if April 15, 2005 falls on a Friday?
A. Obsnewdate mdate ddate
104/15/2005 APR 6
B. Obs newdate mdate ddate
104/15/2005 4 6
C. Obs newdate mdate ddate
104/15/2005 APR 7
D. Obs newdate mdate ddate
104/15/2005 4 7