Day of the week: Difference between revisions

Content added Content deleted
Line 3,874: Line 3,874:
<lang sas>data _null_;
<lang sas>data _null_;
do y=2008 to 2121;
do y=2008 to 2121;
a=mdy(12,25,y);
a=mdy(12,25,y);
if weekday(a)=1 then put y;
if weekday(a)=1 then put y;
end;
end;
run;
run;