<?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: OR condition on two date variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731832#M228005</link>
    <description>&lt;P&gt;There is a "D" missing after the first '31MAR2021'.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 08:29:34 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2021-04-07T08:29:34Z</dc:date>
    <item>
      <title>OR condition on two date variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731831#M228004</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Iam getting error for the below condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where (REQD_DT between '01APR2020'd and '31MAR2021') OR (date1 between '01APR2020'd and '31MAR2021'd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the correct code to compare two date variables with fixed date intervals.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 08:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731831#M228004</guid>
      <dc:creator>Cho8</dc:creator>
      <dc:date>2021-04-07T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Applying OR condition on two date variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731828#M228006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Iam getting error for the below condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where (REQD_DT between '01APR2020'd and '31MAR2021') OR (date1 between '01APR2020'd and '31MAR2021')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the correct code to compare two date variables with fixed date intervals.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 08:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731828#M228006</guid>
      <dc:creator>Cho8</dc:creator>
      <dc:date>2021-04-07T08:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: OR condition on two date variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731832#M228005</link>
      <description>&lt;P&gt;There is a "D" missing after the first '31MAR2021'.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 08:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731832#M228005</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-04-07T08:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Applying OR condition on two date variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731845#M228008</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/354671"&gt;@Cho8&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where (REQD_DT between '01APR2020'd and '31MAR2021'&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;d&lt;/STRONG&gt;&lt;/FONT&gt;) OR (date1 between '01APR2020'd and '31MAR2021'&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;d&lt;/FONT&gt;&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Now the d is/was missing after each '31MAR2021'-string.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 10:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OR-condition-on-two-date-variables/m-p/731845#M228008</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-04-07T10:10:13Z</dc:date>
    </item>
  </channel>
</rss>

