<?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 Using SAS Dates in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-SAS-Dates/m-p/13638#M2884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, does anyone know how to reference a time period by adding and subtracting months. For example if the variable is &amp;amp;amp;startdate how would I be able to pull all records 6 months after the date?&amp;nbsp; 6 months before the date?&amp;nbsp; Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Feb 2012 17:23:23 GMT</pubDate>
    <dc:creator>Jillian003</dc:creator>
    <dc:date>2012-02-25T17:23:23Z</dc:date>
    <item>
      <title>Using SAS Dates</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-SAS-Dates/m-p/13638#M2884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, does anyone know how to reference a time period by adding and subtracting months. For example if the variable is &amp;amp;amp;startdate how would I be able to pull all records 6 months after the date?&amp;nbsp; 6 months before the date?&amp;nbsp; Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 17:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-SAS-Dates/m-p/13638#M2884</guid>
      <dc:creator>Jillian003</dc:creator>
      <dc:date>2012-02-25T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Using SAS Dates</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-SAS-Dates/m-p/13639#M2885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the intnx function.&amp;nbsp; e.g., to get all dates before and after &amp;amp;startdate. you could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if intnx('month',&amp;amp;startdate.,-6,'same') &amp;lt;=&amp;amp;startdate.&amp;lt;= intnx('month',&amp;amp;startdate.,6,'same');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 18:33:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-SAS-Dates/m-p/13639#M2885</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-25T18:33:28Z</dc:date>
    </item>
  </channel>
</rss>

