<?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: Isdate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367335#M87437</link>
    <description>&lt;PRE&gt;count(case when input(date,date9.) &amp;gt; . then 1 else 0 end) as NUM_DATES&lt;/PRE&gt;
&lt;P&gt;The input function will return a date or . depending on the data, so you can do the above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2017 12:28:10 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-06-15T12:28:10Z</dc:date>
    <item>
      <title>Isdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367328#M87435</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;Im looking to see if sas can accomodate something similar to ISdate() function similar to sql,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried it in sas but its returning the function is not available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal is to filter through 6million records to count any instance of non date and time&amp;nbsp;in a field.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367328#M87435</guid>
      <dc:creator>Bellefeuille</dc:creator>
      <dc:date>2017-06-15T12:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Isdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367332#M87436</link>
      <description>&lt;P&gt;Not directly ASFAIK but...&lt;/P&gt;&lt;P&gt;in PROC SQL you can use SAS functions and among them, regular expression functions.&lt;/P&gt;&lt;P&gt;You could therefore check if a given field conforms to your date/datetime requirements before retrieving the records.&lt;/P&gt;&lt;P&gt;You could also preprocess your dataset in order to determine the fields you are interested in.&lt;/P&gt;&lt;P&gt;These are 2 possibilities among others.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:15:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367332#M87436</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2017-06-15T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Isdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367335#M87437</link>
      <description>&lt;PRE&gt;count(case when input(date,date9.) &amp;gt; . then 1 else 0 end) as NUM_DATES&lt;/PRE&gt;
&lt;P&gt;The input function will return a date or . depending on the data, so you can do the above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367335#M87437</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-15T12:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Isdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367347#M87439</link>
      <description>&lt;P&gt;Unlike DataBase ,SAS don't have DATE type variable .&lt;/P&gt;
&lt;P&gt;As long as integer take on date format , this variable is becoming a 'DATE' variable.&lt;/P&gt;
&lt;P&gt;You can use function FMTINFO() to check if its format is a date or not .&lt;/P&gt;
&lt;P&gt;Learn it from &amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;yesterday .&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Isdate/m-p/367347#M87439</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-06-15T13:16:21Z</dc:date>
    </item>
  </channel>
</rss>

