Hi team,
how to find out every month in second Saturday
Thanks&advance
Ok. Then use the NWKDOM Function like this. Below gives dates for second saturdays in each month of 2019
data _null_;
do month=1 to 12;
dt=nwkdom(2, 7, month, 2019);
put dt= date9.;
end;
run;
Do you mean the second saturday in each month?
yes absolutely
Ok. Then use the NWKDOM Function like this. Below gives dates for second saturdays in each month of 2019
data _null_;
do month=1 to 12;
dt=nwkdom(2, 7, month, 2019);
put dt= date9.;
end;
run;
This the SAS communities. Using just "sas" as a subject line is absolutely NOT descriptive. Please put at least a little effort into your questions.
What month should be found for a "second Saturday"? The second Saturday of a year (eg) will always be in January. So your question makes no sense.
Please edit your subject line, and rephrase your question.
@nayab_shaik wrote:
Hi team,
how to find out every month in second Saturday
Thanks&advance
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.