data _null_; val = '13sep2017'd; put val weekdate9. " is day " val weekday. " of a week"; /* Wednesday is day 4 of a week */ run;
Index