Search notes:

SAS format: weekday

data _null_;

  val = '13sep2017'd;

  put val weekdate9. " is day " val weekday. " of a week"; /* Wednesday is day 4 of a week */
   
run;
Github repository about-SAS, path: /programming/formats-informats/weekday.sas

See also

informats and formats

Index