<?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 Omitting Holidays weekend from Date function in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67741#M19392</link>
    <description>I have a function that changes the the date from our mainframe to Julian date, and then we run a query to check 2 business days back,&lt;BR /&gt;
&lt;BR /&gt;
This is pretty tedious&lt;BR /&gt;
&lt;BR /&gt;
The function is as follows&lt;BR /&gt;
&lt;BR /&gt;
                            &lt;BR /&gt;
 OPNDATE  = DATEJUL(ODATE); &lt;BR /&gt;
 IF (ODATE&amp;lt;2011028  OR ODATE&amp;gt;2011028) THEN DELETE; &lt;BR /&gt;
&lt;BR /&gt;
So every day we have to update the julian date to be 2 business days behind.&lt;BR /&gt;
&lt;BR /&gt;
Would there be an optimal way to perform this function rather then haveing to update it daily. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way simply to calculate 2 business days behind which would include omitting weekend and holidays, If omitting holidays means creating a control card, i would be ok with this, but wouldnt know how to proceed after that.&lt;BR /&gt;
&lt;BR /&gt;
Hope this makes sense&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your time and looking forward to some great Ideas &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Tue, 01 Feb 2011 13:52:24 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2011-02-01T13:52:24Z</dc:date>
    <item>
      <title>Omitting Holidays weekend from Date function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67741#M19392</link>
      <description>I have a function that changes the the date from our mainframe to Julian date, and then we run a query to check 2 business days back,&lt;BR /&gt;
&lt;BR /&gt;
This is pretty tedious&lt;BR /&gt;
&lt;BR /&gt;
The function is as follows&lt;BR /&gt;
&lt;BR /&gt;
                            &lt;BR /&gt;
 OPNDATE  = DATEJUL(ODATE); &lt;BR /&gt;
 IF (ODATE&amp;lt;2011028  OR ODATE&amp;gt;2011028) THEN DELETE; &lt;BR /&gt;
&lt;BR /&gt;
So every day we have to update the julian date to be 2 business days behind.&lt;BR /&gt;
&lt;BR /&gt;
Would there be an optimal way to perform this function rather then haveing to update it daily. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way simply to calculate 2 business days behind which would include omitting weekend and holidays, If omitting holidays means creating a control card, i would be ok with this, but wouldnt know how to proceed after that.&lt;BR /&gt;
&lt;BR /&gt;
Hope this makes sense&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your time and looking forward to some great Ideas &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 01 Feb 2011 13:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67741#M19392</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-01T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Omitting Holidays weekend from Date function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67742#M19393</link>
      <description>This is ugly, but it works.  I assumed that you are just working with 2011, but it is expandable.  I created an informat HOLIDAY that returns 1 if the date is a holiday or 0 if not.&lt;BR /&gt;
proc format ;&lt;BR /&gt;
  invalue holiday '01JAN2011'd,'25JAN2011'd,&lt;BR /&gt;
                        '23DEC2011'd,'25DEC2011'd,&lt;BR /&gt;
                        '26DEC2011'd = 1&lt;BR /&gt;
    other=0;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data dates2011; /* generate test dates for 2011 */&lt;BR /&gt;
  do date = '01JAN2011'd to '31DEC2011'd;&lt;BR /&gt;
    output;&lt;BR /&gt;
    format date date9.;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
data dates2011a;&lt;BR /&gt;
  set dates2011;&lt;BR /&gt;
  busday_2before = date-2;&lt;BR /&gt;
  xloop = 0;&lt;BR /&gt;
  LOOP:;&lt;BR /&gt;
  xweekday = weekday(busday_2before);&lt;BR /&gt;
  xloop = xloop+1;&lt;BR /&gt;
  if xloop &amp;gt; 5 then stop;&lt;BR /&gt;
  if xweekday in (1,7) then do;&lt;BR /&gt;
    if xweekday = 1 then busday_2before = busday_2before-2;&lt;BR /&gt;
    else                 busday_2before = busday_2before-1;&lt;BR /&gt;
  end;&lt;BR /&gt;
  if input(put(busday_2before,5.),holiday.) then do;&lt;BR /&gt;
    busday_2before = busday_2before-1;&lt;BR /&gt;
    goto loop; /* make sure not Saturday, sunday, or holiday, again */&lt;BR /&gt;
  end;&lt;BR /&gt;
  format busday_2before date9.;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 01 Feb 2011 17:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67742#M19393</guid>
      <dc:creator>advoss</dc:creator>
      <dc:date>2011-02-01T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Omitting Holidays weekend from Date function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67743#M19394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before SAS9.2 you can determine the date 2 working days before the rundate with the INTNX() function as displayed by &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;209&amp;nbsp; %put wd_minus2 = %sysfunc( intnx( weekday, "&amp;amp;sysdate"d, -2), weekdate );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;wd_minus2 =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Friday, January 28, 2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of more use would be the date as a sas date constant, like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%let wd_minus2 = %sysfunc( intnx( weekday, "&amp;amp;sysdate"d, -2), date9 );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it can be used like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; if&amp;nbsp; opnDate LT "&amp;amp;wd_minus2"d or opnDate GT "&amp;amp;wd_minus2"d&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if you would like it as a julian date formatted string then adapt the above &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%let wd_minus2J = %sysfunc( intnx( weekday, "&amp;amp;sysdate"d, -2), julian7 );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but that won't work as a date constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, interval &lt;STRONG&gt;WEEKDAY &lt;/STRONG&gt;does not provide logic to step over holiday dates &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have SAS9.2 you can enjoy the new system option &lt;STRONG&gt;INTERVALDS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This enbles you to define and use custom intervals which could combine&amp;nbsp; weekends and your dates from a table &lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;libname my (work)&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data my.hols;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; input&amp;nbsp; date :date9. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; format date weekdate. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;list;cards ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;27Jan11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;26jan11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;24jan11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1feb2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;* &lt;/SPAN&gt;limit period of interest to last 20 weekdays; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%let tod = &amp;amp;sysdate ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%let frd = %sysfunc( intnx( weekday, "&amp;amp;tod"d, -20 ), date9 ) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data span ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; format begin end weekdate. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; keep&amp;nbsp; begin end ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;* &lt;/SPAN&gt;build the diary - holidays first ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; array dates(%sysevalf("&amp;amp;frd"d):%sysevalf("&amp;amp;tod"d)) $1 &lt;SPAN style="text-decoration: underline;"&gt;temporary&lt;/SPAN&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; do while( not eof1 ) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set my.hols( where=( date between "&amp;amp;frd"d and "&amp;amp;tod"d )) end=eof1 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dates(date) ='H' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; end ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;* &lt;/SPAN&gt;now mark weekends ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; s1 = "&amp;amp;frd"d + 7 - weekday( "&amp;amp;frd"d ) ;* the first Saturday ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; do date= s1 to "&amp;amp;tod"d&amp;nbsp; by 7 ; * saturday to saturday ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dates( date) = 'W' ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if "&amp;amp;tod"d GT date then dates( date+1) ='W' ; * Sunday ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; end ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;* &lt;/SPAN&gt;now build custom intervals ; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; do date= "&amp;amp;frd"d to "&amp;amp;tod"d ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if dates(date) = ' ' then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if oldDay ne . then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin = oldDay ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; = date-1 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldDay = date ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&amp;nbsp; oldDay = coalesce( oldDay, date-1 ) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; end ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;* &lt;/SPAN&gt;check if diary finished on non-working day ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if oldDay ne . then do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin = oldDay ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; = "&amp;amp;tod"d&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; stop ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; format begin end weekdate. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;option intervalDS = ( myWorkingDay = span );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%put last_wd_ex_hols = %sysfunc( intnx( myWorkingDay, "&amp;amp;sysdate"d, -2 ), weekdate) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%put last_wd_inc_all = %sysfunc( intnx( weekday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , "&amp;amp;sysdate"d, -2 ), weekdate) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the log of the final results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;207&amp;nbsp; %put last_wd_ex_hols = %sysfunc( intnx( myWorkingDay, "&amp;amp;sysdate"d, -2 ), weekdate);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;last_wd_ex_hols =&amp;nbsp;&amp;nbsp;&amp;nbsp; Tuesday, January 25, 2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;208&amp;nbsp; %put last_wd_inc_all = %sysfunc( intnx( weekday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , "&amp;amp;sysdate"d, -2 ), weekdate);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;last_wd_inc_all =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Friday, January 28, 2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;demonstrating the effect of marking today, 26th January and 27th as holidays.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peterC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Peter Crawford 24-Dec-2011&#xD;
to reinstate plain text formating that was lost when the Forum posting was converted to Communities&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 18:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67743#M19394</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-01T18:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Omitting Holidays weekend from Date function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67744#M19395</link>
      <description>you guys are awesome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; very nice material here. thanks so much for your time i really appreciate it.</description>
      <pubDate>Wed, 02 Feb 2011 02:48:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Omitting-Holidays-weekend-from-Date-function/m-p/67744#M19395</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-02T02:48:19Z</dc:date>
    </item>
  </channel>
</rss>

