<?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: proc sql date function in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/proc-sql-date-function/m-p/80604#M714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt;I think that the same proc sql condition would be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt;dd.actual_date &lt;/SPAN&gt;&lt;SPAN class="op" style="font-size: 12px; font-family: helvetica, arial; color: #808080; background-color: #ffffff;"&gt;between&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006699; font-size: 12px; background-color: #ffffff; font-family: helvetica, arial;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background-color: #ffffff;"&gt;'01AUG2012'd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; - 3 AND &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background-color: #ffffff;"&gt;'01AUG2012'd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 01:00:13 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-08-01T01:00:13Z</dc:date>
    <item>
      <title>proc sql date function</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/proc-sql-date-function/m-p/80603#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on transfer some DB2 code into proc sql and trying to handle some date calculate and process, the original db2 code is like:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13437818302389496" jivemacro_uid="_13437818302389496"&gt;
&lt;P&gt;dd.actual_date between DATE('20120801') - 3 DAYSAND DATE('20120801')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Just wondering if there is any way to achieve the same functionality using sas proc sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 00:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/proc-sql-date-function/m-p/80603#M713</guid>
      <dc:creator>Nehcour0420</dc:creator>
      <dc:date>2012-08-01T00:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql date function</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/proc-sql-date-function/m-p/80604#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt;I think that the same proc sql condition would be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt;dd.actual_date &lt;/SPAN&gt;&lt;SPAN class="op" style="font-size: 12px; font-family: helvetica, arial; color: #808080; background-color: #ffffff;"&gt;between&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006699; font-size: 12px; background-color: #ffffff; font-family: helvetica, arial;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background-color: #ffffff;"&gt;'01AUG2012'd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; - 3 AND &lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background-color: #ffffff;"&gt;'01AUG2012'd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 01:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/proc-sql-date-function/m-p/80604#M714</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-08-01T01:00:13Z</dc:date>
    </item>
  </channel>
</rss>

