<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create a dataset with the series of busniess day in a month. Like 1st,2nd ,3rd and so on. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299092#M62989</link>
    <description>&lt;P&gt;Trying to create a dataset by finding the series of working day in any given month of any given year. For example: I am creating on this posting date. Then I have to find in September of 2016 what are all the banking busniess day especially if I want for a particular country like Germany.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Sep 2016 07:50:06 GMT</pubDate>
    <dc:creator>Amateur</dc:creator>
    <dc:date>2016-09-17T07:50:06Z</dc:date>
    <item>
      <title>Create a dataset with the series of busniess day in a month. Like 1st,2nd ,3rd and so on.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299092#M62989</link>
      <description>&lt;P&gt;Trying to create a dataset by finding the series of working day in any given month of any given year. For example: I am creating on this posting date. Then I have to find in September of 2016 what are all the banking busniess day especially if I want for a particular country like Germany.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 07:50:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299092#M62989</guid>
      <dc:creator>Amateur</dc:creator>
      <dc:date>2016-09-17T07:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dataset with the series of busniess day in a month. Like 1st,2nd ,3rd and so on.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299097#M62990</link>
      <description>&lt;P&gt;Oldie but goodie. You do need to manually list the holidays unfortunately.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since most SAS functions are for US holidays anyways the manual step is required for many methods.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/statgeek/9606118" target="_blank"&gt;https://gist.github.com/statgeek/9606118&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 08:39:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299097#M62990</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-17T08:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dataset with the series of busniess day in a month. Like 1st,2nd ,3rd and so on.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299133#M63012</link>
      <description>&lt;PRE&gt;
If you have holidays , you need write some more code.



%let year=2016;
%let month=9;

data want;
 temp=mdy(&amp;amp;month,1,&amp;amp;year);
 do date=temp to intnx('month',temp,0,'e');
  if weekday(date) not in (1 7) then output;
 end;
 format date date9.;
 drop temp;
run;

&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Sep 2016 01:53:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-dataset-with-the-series-of-busniess-day-in-a-month-Like/m-p/299133#M63012</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-09-18T01:53:52Z</dc:date>
    </item>
  </channel>
</rss>

