<?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 the DATE() or TODAY() Function When Filtering in SAS EG 4.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66287#M6653</link>
    <description>All,&lt;BR /&gt;
&lt;BR /&gt;
I am rookie SAS EG user and cannot figure out how to set a query filter for all rows containing today's date.  The field data is datetime, any suggestions would be very appreciated.  &lt;BR /&gt;
&lt;BR /&gt;
MC</description>
    <pubDate>Sat, 22 Aug 2009 17:57:57 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-08-22T17:57:57Z</dc:date>
    <item>
      <title>Using the DATE() or TODAY() Function When Filtering in SAS EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66287#M6653</link>
      <description>All,&lt;BR /&gt;
&lt;BR /&gt;
I am rookie SAS EG user and cannot figure out how to set a query filter for all rows containing today's date.  The field data is datetime, any suggestions would be very appreciated.  &lt;BR /&gt;
&lt;BR /&gt;
MC</description>
      <pubDate>Sat, 22 Aug 2009 17:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66287#M6653</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-22T17:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using the DATE() or TODAY() Function When Filtering in SAS EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66288#M6654</link>
      <description>The sample below has some discussion regarding variable types - you will need to use DATEPART(&lt;YOUR_DATETIME_VARIABLE&gt;)  and either the TODAY() function or in some instances the constant "&amp;amp;SYSDATE9"D may be preferred.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Sample 35315: Converting Variable Types in SAS® Enterprise Guide&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/35/315.html" target="_blank"&gt;http://support.sas.com/kb/35/315.html&lt;/A&gt;&lt;/YOUR_DATETIME_VARIABLE&gt;</description>
      <pubDate>Sat, 22 Aug 2009 19:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66288#M6654</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-08-22T19:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using the DATE() or TODAY() Function When Filtering in SAS EG 4.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66289#M6655</link>
      <description>Many thanks DATEPART() worked like a charm.  I was able to create an indicator based on that logic.  Your assistance is much appreciated.</description>
      <pubDate>Sat, 22 Aug 2009 21:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-the-DATE-or-TODAY-Function-When-Filtering-in-SAS-EG-4-1/m-p/66289#M6655</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-22T21:08:27Z</dc:date>
    </item>
  </channel>
</rss>

