<?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 SAS macro variable for the day before the last day of the previous month in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749859#M235739</link>
    <description>&lt;P&gt;I need some help with a macro variable that will equal the value of the day before the previous months end date.&amp;nbsp; I can get previous month end date but how to I create another macro variable for the day before that date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have made several attempts but they never resolve to what I need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any assistance will be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 13:25:52 GMT</pubDate>
    <dc:creator>Elliott</dc:creator>
    <dc:date>2021-06-23T13:25:52Z</dc:date>
    <item>
      <title>SAS macro variable for the day before the last day of the previous month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749859#M235739</link>
      <description>&lt;P&gt;I need some help with a macro variable that will equal the value of the day before the previous months end date.&amp;nbsp; I can get previous month end date but how to I create another macro variable for the day before that date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have made several attempts but they never resolve to what I need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any assistance will be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 13:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749859#M235739</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2021-06-23T13:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS macro variable for the day before the last day of the previous month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749863#M235741</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
    call symputx('day_before',intnx('month',today(),-1,'e')-1);
Run;

%put %sysfunc(putn(&amp;amp;day_before,mmddyy10.));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jun 2021 13:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749863#M235741</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-23T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS macro variable for the day before the last day of the previous month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749870#M235743</link>
      <description>Thank you very much!</description>
      <pubDate>Wed, 23 Jun 2021 14:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-macro-variable-for-the-day-before-the-last-day-of-the/m-p/749870#M235743</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2021-06-23T14:02:23Z</dc:date>
    </item>
  </channel>
</rss>

