<?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 Getting the second to last working day in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144694#M38429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I'm trying to get the second to last working day of any month , regardless of the holidays.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I've tried with that code but I got stuck especially with the &lt;CODE style="padding: 1px 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;intnx&lt;/CODE&gt;, which is giving me the last day...&lt;/P&gt;&lt;PRE style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;data tata; test=today(); &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;put test=; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;run; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;data toto; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;set tata; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;lastDay=intnx('month',"test"d,0,'E'); &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;format lastDay ddmmyy10.; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;run; &lt;/CODE&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I'm welcoming any tips that will unlock me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2014 15:44:29 GMT</pubDate>
    <dc:creator>andy_wk</dc:creator>
    <dc:date>2014-07-31T15:44:29Z</dc:date>
    <item>
      <title>Getting the second to last working day</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144694#M38429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I'm trying to get the second to last working day of any month , regardless of the holidays.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I've tried with that code but I got stuck especially with the &lt;CODE style="padding: 1px 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;intnx&lt;/CODE&gt;, which is giving me the last day...&lt;/P&gt;&lt;PRE style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;data tata; test=today(); &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;put test=; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;run; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;data toto; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;set tata; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;lastDay=intnx('month',"test"d,0,'E'); &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;format lastDay ddmmyy10.; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;run; &lt;/CODE&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I'm welcoming any tips that will unlock me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 15:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144694#M38429</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-07-31T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the second to last working day</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144695#M38430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You already have the last day of the month, now you only need to count back one 'working day':&lt;/P&gt;&lt;P&gt;data toto; &lt;/P&gt;&lt;P&gt;lastDay=intnx('weekday',intnx('month',date(),0,'E'),-1); &lt;/P&gt;&lt;P&gt;format lastDay ddmmyy10.; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 16:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144695#M38430</guid>
      <dc:creator>haikuobian</dc:creator>
      <dc:date>2014-07-31T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the second to last working day</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144696#M38431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Haikuo !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 16:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-the-second-to-last-working-day/m-p/144696#M38431</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-07-31T16:03:36Z</dc:date>
    </item>
  </channel>
</rss>

