<?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: Macro to get last 90 days in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-get-last-90-days/m-p/410457#M100281</link>
    <description>&lt;P&gt;The macro code is unnecessary. Just use today() - 90.&lt;/P&gt;
&lt;P&gt;Your problem might be that DAYDATE is not really a SAS date variable.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2017 20:48:49 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-11-03T20:48:49Z</dc:date>
    <item>
      <title>Macro to get last 90 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-get-last-90-days/m-p/410455#M100280</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I am trying to write a&amp;nbsp;macro that contains the following line to&amp;nbsp;get the last 90 days from my temporary data set. Do I need to use %eval and %sysfunc in the macro for it to work or can I just use today()-90? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;t1.DAYDATE &amp;gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%eval&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(today())-&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 21:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-get-last-90-days/m-p/410455#M100280</guid>
      <dc:creator>kmcnulty</dc:creator>
      <dc:date>2017-11-03T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to get last 90 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-to-get-last-90-days/m-p/410457#M100281</link>
      <description>&lt;P&gt;The macro code is unnecessary. Just use today() - 90.&lt;/P&gt;
&lt;P&gt;Your problem might be that DAYDATE is not really a SAS date variable.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 20:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-to-get-last-90-days/m-p/410457#M100281</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-03T20:48:49Z</dc:date>
    </item>
  </channel>
</rss>

