<?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: How to compare SAS date with a string date? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8500#M382</link>
    <description>You will need to determine the format (CHARACTER OR SAS/NUMERIC) of the date variables involved -- best to work with SAS NUMERIC variables and make comparisons.  Suggest some basic SAS DATE variable review and reading from the SAS support &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS Language Reference: Concepts - Dates, Times, and Intervals&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001112342.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001112342.htm&lt;/A&gt;</description>
    <pubDate>Wed, 28 Oct 2009 03:44:52 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-10-28T03:44:52Z</dc:date>
    <item>
      <title>How to compare SAS date with a string date?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8499#M381</link>
      <description>I have a column named "EffectiveDate". I want to check for a record that has an EffectiveDate of "01-01-2010", then this record need to be removed. I don't know how to compare since the EffectiveDate is formated in Date type and the values look numerics. Can I use put function to convert the EffectiveDate to string? then I compare it with "01-01-2010". Your inputs are much appreciated.</description>
      <pubDate>Wed, 28 Oct 2009 03:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8499#M381</guid>
      <dc:creator>Lani</dc:creator>
      <dc:date>2009-10-28T03:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare SAS date with a string date?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8500#M382</link>
      <description>You will need to determine the format (CHARACTER OR SAS/NUMERIC) of the date variables involved -- best to work with SAS NUMERIC variables and make comparisons.  Suggest some basic SAS DATE variable review and reading from the SAS support &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS Language Reference: Concepts - Dates, Times, and Intervals&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001112342.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a001112342.htm&lt;/A&gt;</description>
      <pubDate>Wed, 28 Oct 2009 03:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8500#M382</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-28T03:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare SAS date with a string date?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8501#M383</link>
      <description>if EffectiveDate = '01jan2010'd then delete;</description>
      <pubDate>Wed, 28 Oct 2009 08:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-compare-SAS-date-with-a-string-date/m-p/8501#M383</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2009-10-28T08:11:20Z</dc:date>
    </item>
  </channel>
</rss>

