<?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 Re: How to find Nth business day incl holidays in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445309#M111568</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use TODAY() to generate todays date and then DAY() to get the day of the month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not quite clear what you're looking for besides that.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 20:48:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-03-13T20:48:36Z</dc:date>
    <item>
      <title>How to find Nth business day incl holidays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445305#M111567</link>
      <description>&lt;P&gt;Our database updates on the 8th business day of the month so I need to create some date parameters that will depend whether or not the current day falls on or before/after the 8th business day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to be clear, I'm just asking for code to identify the 8th business day, not code for creating the date parameters.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently use SAS EG 7.13 and SAS 9.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 20:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445305#M111567</guid>
      <dc:creator>Anna_dlC</dc:creator>
      <dc:date>2018-03-13T20:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Nth business day incl holidays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445309#M111568</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use TODAY() to generate todays date and then DAY() to get the day of the month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not quite clear what you're looking for besides that.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 20:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445309#M111568</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-13T20:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Nth business day incl holidays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445312#M111570</link>
      <description>&lt;P&gt;business_day = intnx('weekday', intnx('month', today(), 0, 'b'), 8);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have custom intervals, which you likely do, you need to build your own custom calendar to account for the holidays and then you can use that interval instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 20:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445312#M111570</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-13T20:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Nth business day incl holidays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445825#M111781</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; I was kind of hoping for a way around the custom calendar thing.&amp;nbsp;&amp;nbsp; I tried a set of code that employed the holiday function but even that had flaws.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But thanks for the tip!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445825#M111781</guid>
      <dc:creator>Anna_dlC</dc:creator>
      <dc:date>2018-03-15T13:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Nth business day incl holidays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445860#M111804</link>
      <description>&lt;P&gt;The custom calendar isn't as hard as it seems though it was intimidating the first time I tried to figure it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're in US you can use the following to make your holiday lists:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/Generating_Holiday_Lists" target="_blank"&gt;http://www.sascommunity.org/wiki/Generating_Holiday_Lists&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-Nth-business-day-incl-holidays/m-p/445860#M111804</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-15T15:01:27Z</dc:date>
    </item>
  </channel>
</rss>

