<?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: Using filter on Date in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130349#M10677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. My EG experience is close to '0'. There are many with EG skills on the forum, your question will be answered sufficiently.&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 May 2012 19:23:17 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2012-05-31T19:23:17Z</dc:date>
    <item>
      <title>Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130345#M10673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I formated 8 byte character string into Date(CCYYMMDD) by using INPUT.&lt;/P&gt;&lt;P&gt;I now want to use this Date in Filter to say Date&amp;gt;19990613, so that I can only pick the records that have Date greater than June 13, 1999.&lt;/P&gt;&lt;P&gt;I know there are such records that meet this criteria but when I run the project with this filter, I am getting 0 record back.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 16:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130345#M10673</guid>
      <dc:creator>ilmare</dc:creator>
      <dc:date>2012-05-31T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130346#M10674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When SAS does the comparison on date, it compares the true numeric value instead of formated value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;a=input('19990613',anydtdte.);&lt;/P&gt;&lt;P&gt;put a= a=date9.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can see, if you do: date&amp;gt;14408, then see what happens.&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 May 2012 16:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130346#M10674</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-31T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130347#M10675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...or date&amp;gt;'13jun1999'd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 17:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130347#M10675</guid>
      <dc:creator>FloydNevseta</dc:creator>
      <dc:date>2012-05-31T17:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130348#M10676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Haikuo:&lt;/P&gt;&lt;P&gt;Thank you for your advie.&lt;/P&gt;&lt;P&gt;As I am not familiar to the SAS coding, where can I go to find out the numeric value of 14408 in SEG? BTW, I used 14408 and it ran successfully with the date greater than Jun 13, 1999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS_Bigot:&lt;/P&gt;&lt;P&gt;Thank you also for your advice.&lt;/P&gt;&lt;P&gt;I tried to use your expression on the Query Builder/Filter but it gave me an error. I must have done incorrectly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 18:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130348#M10676</guid>
      <dc:creator>ilmare</dc:creator>
      <dc:date>2012-05-31T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130349#M10677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. My EG experience is close to '0'. There are many with EG skills on the forum, your question will be answered sufficiently.&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 May 2012 19:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130349#M10677</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-31T19:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using filter on Date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130350#M10678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, HaiKuo,&lt;/P&gt;&lt;P&gt;I was able to compute the Date by using Input w. anydtdte as you suggested, to come up with the numeric values in EG.&lt;/P&gt;&lt;P&gt;I appreciate your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 19:27:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-filter-on-Date/m-p/130350#M10678</guid>
      <dc:creator>ilmare</dc:creator>
      <dc:date>2012-05-31T19:27:03Z</dc:date>
    </item>
  </channel>
</rss>

