<?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: Sas - keep only observations between 2 dates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-keep-only-observations-between-2-dates/m-p/160631#M31259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is index date a fixed date or a column in a dat set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming fixed date and variables that are SAS dates something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (fixed_date - date) between 30 and 365;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to change signs or order of subtraction. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 13:57:34 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-02-10T13:57:34Z</dc:date>
    <item>
      <title>Sas - keep only observations between 2 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-keep-only-observations-between-2-dates/m-p/160630#M31258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to keep all dates in a table that occur between -365 to -30 days prior to Index date. Any dates occurring within 30 days of the Index are not required. I know this is probably quite straightforward code but I can't seem to figure out how to do this.&amp;nbsp; Any help on the syntax would be appreciated. Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 10:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-keep-only-observations-between-2-dates/m-p/160630#M31258</guid>
      <dc:creator>lisahoward</dc:creator>
      <dc:date>2015-02-10T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sas - keep only observations between 2 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-keep-only-observations-between-2-dates/m-p/160631#M31259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is index date a fixed date or a column in a dat set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming fixed date and variables that are SAS dates something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (fixed_date - date) between 30 and 365;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to change signs or order of subtraction. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 13:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-keep-only-observations-between-2-dates/m-p/160631#M31259</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-02-10T13:57:34Z</dc:date>
    </item>
  </channel>
</rss>

