Given the SAS data set WORK.ONE:
The following SAS program is submitted:
format BeginDate date9.;
The data set WORK.TWO is created, where Day would be 1 for Sunday, 2 for Monday, 3 for Tuesday, … :
Which expression successfully completed the program and creates the variable Day?
注解：WEEKDAY function returns an integer that corresponds to the day of the week, where 1=Sunday, 2=Monday, …, 7=Saturday, from a SAS date value. DAY function returns the day of the month. There is no function called DAYOFWEEK or GETDAY in SAS.