<?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 How to work with missing dates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523755#M142339</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;here am writing d code to check missing day month year from the input below &amp;nbsp;&amp;amp; display the correct format according to the given values below. my input dates are&amp;nbsp;&lt;/P&gt;&lt;P&gt;YYYY-MM-&lt;BR /&gt;YYYY&lt;/P&gt;&lt;P&gt;YYYY- - DD&lt;BR /&gt;MM-DD&lt;/P&gt;&lt;P&gt;the values to display according to the corresponding input value&amp;nbsp;in the output should be in sas numeric date format since these dates&amp;nbsp; values are missing&amp;nbsp; how to display them as output ?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 12:27:04 GMT</pubDate>
    <dc:creator>Aayushi_17</dc:creator>
    <dc:date>2018-12-28T12:27:04Z</dc:date>
    <item>
      <title>How to work with missing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523755#M142339</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;here am writing d code to check missing day month year from the input below &amp;nbsp;&amp;amp; display the correct format according to the given values below. my input dates are&amp;nbsp;&lt;/P&gt;&lt;P&gt;YYYY-MM-&lt;BR /&gt;YYYY&lt;/P&gt;&lt;P&gt;YYYY- - DD&lt;BR /&gt;MM-DD&lt;/P&gt;&lt;P&gt;the values to display according to the corresponding input value&amp;nbsp;in the output should be in sas numeric date format since these dates&amp;nbsp; values are missing&amp;nbsp; how to display them as output ?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 12:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523755#M142339</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2018-12-28T12:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with missing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523756#M142340</link>
      <description>&lt;P&gt;There's no such thing as a SAS numeric date format that will handle all of the possible combinations of missing you show.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably ought to read in these dates with missing fields as text, and then display them as text.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 12:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523756#M142340</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-12-28T12:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with missing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523759#M142342</link>
      <description>&lt;P&gt;dirty data in equals results that are unreliable.&amp;nbsp; Send the data back to the compiler or the person who supplied the data and make them correct the issue.&amp;nbsp; Or get with the DB Admin and make that date field mandatory valid date required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's all fun and games until someone losses an eye.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 13:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523759#M142342</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-12-28T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with missing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523776#M142352</link>
      <description>&lt;P&gt;You need to first state rules&amp;nbsp;how those missing month and day values need&amp;nbsp;to be replaced (eg should a missing month be set to January, or June, or December?).&lt;/P&gt;
&lt;P&gt;Once these rules are known, they can be put into code.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 16:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523776#M142352</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-28T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with missing dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523779#M142355</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS stores date values as numeric values, i.e. number of days from 1st Jan 1960 (this is not a format, just numeric values and needs format to be given to represent as dates that we can understand).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;YYYY-MM- &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Here missing day values, so it can be any value between 0-31 &amp;nbsp;(31 dates possibility)&lt;BR /&gt;&lt;STRONG&gt;YYYY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;Here missing month and date (365 dates possible)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;YYYY- - DD &lt;/STRONG&gt;Here missing month (12 dates possible)&lt;BR /&gt;&lt;STRONG&gt;MM-DD &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;Here missing year (infinite dates possible)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set rules to consider one value out of all the possible values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 17:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-work-with-missing-dates/m-p/523779#M142355</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-12-28T17:28:19Z</dc:date>
    </item>
  </channel>
</rss>

