<?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: re: holiday function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245263#M45747</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data null;
year=2016;
month=8;
format monday date9.;
monday=intnx('week.3',(mdy(month,1,year)),0,'e');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Jan 2016 19:02:23 GMT</pubDate>
    <dc:creator>mohamed_zaki</dc:creator>
    <dc:date>2016-01-21T19:02:23Z</dc:date>
    <item>
      <title>re: holiday function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245248#M45742</link>
      <description>&lt;P&gt;Hi...Is there something similiar or equivalent to holiday('labor', year) but rather than producing the first Monday in September, the result would the first Monday in August? Thnaks.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:29:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245248#M45742</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2016-01-21T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: re: holiday function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245252#M45745</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/macro-to-get-first-monday/td-p/92041" target="_self"&gt;macro to get first monday??????&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245252#M45745</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-01-21T18:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: re: holiday function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245254#M45746</link>
      <description>&lt;P&gt;If you are looking for the same day, one month prior to Labor day, you can do:&lt;/P&gt;
&lt;P&gt;data _null_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;date_labor = holiday('LABOR',year(today()));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;date_1MonthPrior = intnx('MONTH',date_labor,-1,'S');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;format Date_: YYMMDD10.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;put _all_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;stop;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;date_labor=2016-09-05 date_1MonthPrior=2016-08-05 _ERROR_=0 _N_=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245254#M45746</guid>
      <dc:creator>advoss</dc:creator>
      <dc:date>2016-01-21T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: re: holiday function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245263#M45747</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data null;
year=2016;
month=8;
format monday date9.;
monday=intnx('week.3',(mdy(month,1,year)),0,'e');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jan 2016 19:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245263#M45747</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-01-21T19:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: re: holiday function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245384#M45780</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
x=NWKDOM(1, 2, 8, 2016);
put x= date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 04:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-holiday-function/m-p/245384#M45780</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-22T04:46:39Z</dc:date>
    </item>
  </channel>
</rss>

