<?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 Reading in 01.01.0001 dates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52755#M11154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could always simply parse the string into numbers that represent month, day and year.&amp;nbsp; That way, you could treat years like 0001 however you care to treat them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input polno $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtstrt $10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtend $10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_day=input(scan(prdtstrt,1,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_month=input(scan(prdtstrt,2,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_year=input(scan(prdtstrt,3,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_day=input(scan(prdtend,1,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_month=input(scan(prdtend,2,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_year=input(scan(prdtend,3,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;AA1 01.01.000131.12.9999&lt;/P&gt;&lt;P&gt;AA2 01.01.000131.12.9999&lt;/P&gt;&lt;P&gt;AA3 01.01.200115.10.2009&lt;/P&gt;&lt;P&gt;AA4 01.11.201001.11.2011&lt;/P&gt;&lt;P&gt;AA5 01.03.201101.03.2012&lt;/P&gt;&lt;P&gt;AA6 01.05.201101.05.2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 12:20:18 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2011-08-23T12:20:18Z</dc:date>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52753#M11152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting some raw data that has the following dates in the file:&amp;nbsp; 01.01.0001 but when I read it in, it comes in as 01.01.2001.&amp;nbsp; Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;DATA&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;input polno $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtstrt $10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtend $10.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA1 01.01.000131.12.9999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA2 01.01.000131.12.9999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA3 01.01.200115.10.2009&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA4 01.11.201001.11.2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA5 01.03.201101.03.2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA6 01.05.201101.05.2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;I need to be able to distinguish 0001 from 2001.&amp;nbsp; I don't mind if all these values are set to missing, just don't want them in the dataset as 2001.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;Christy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 06:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52753#M11152</guid>
      <dc:creator>christyh</dc:creator>
      <dc:date>2011-08-23T06:17:08Z</dc:date>
    </item>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52754#M11153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Crhirsy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;A name="a002591295" style="font-style: normal; font-size: 13px; line-height: 1.25em; font-family: inherit; text-align: left; color: #000000;"&gt;YEARCUTOFF&lt;/A&gt;option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you attempt to read in an external file without scrubbing the data, SAS will convert dates older than 1582 A.D. to null dates.&lt;/P&gt;&lt;P&gt;SAS can perform calculations on dates ranging from A.D. 1582 to A.D. 19,900&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a002200738.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a002200738.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 08:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52754#M11153</guid>
      <dc:creator>RD2</dc:creator>
      <dc:date>2011-08-23T08:09:10Z</dc:date>
    </item>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52755#M11154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could always simply parse the string into numbers that represent month, day and year.&amp;nbsp; That way, you could treat years like 0001 however you care to treat them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input polno $&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtstrt $10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtend $10.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_day=input(scan(prdtstrt,1,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_month=input(scan(prdtstrt,2,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtstrt_year=input(scan(prdtstrt,3,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_day=input(scan(prdtend,1,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_month=input(scan(prdtend,2,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; prdtend_year=input(scan(prdtend,3,"."),best12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;AA1 01.01.000131.12.9999&lt;/P&gt;&lt;P&gt;AA2 01.01.000131.12.9999&lt;/P&gt;&lt;P&gt;AA3 01.01.200115.10.2009&lt;/P&gt;&lt;P&gt;AA4 01.11.201001.11.2011&lt;/P&gt;&lt;P&gt;AA5 01.03.201101.03.2012&lt;/P&gt;&lt;P&gt;AA6 01.05.201101.05.2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52755#M11154</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-23T12:20:18Z</dc:date>
    </item>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52756#M11155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a disconnect here. The code uses a character informat ($10.) but the narrative describes behavior of a date informat (ddmmyy10.). So consider instead this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;options&lt;/SPAN&gt; yearcutoff=&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;5050&lt;/STRONG&gt;&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #0000ff;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;_null_&lt;SPAN style="color: #000000;"&gt; ;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;input&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vtext&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #008080;"&gt;$10.&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; vdate &lt;SPAN style="color: #008080;"&gt;ddmmyy10.&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;put&lt;/SPAN&gt; vtext= vdate= &lt;SPAN style="color: #008080;"&gt;date9.&lt;/SPAN&gt; / ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #0000ff;"&gt;cards&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;01.01.0000&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;01.01.0001&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;31.12.0049&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;01.01.0050&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;31.12.0099&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;01.01.0100&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;31.12.1581&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;01.01.1582&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier;"&gt;vtext=01.01.0000 vdate=01JAN5100&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier; min-height: 10.0px;"&gt;vtext=01.01.0001 vdate=01JAN5101&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier; min-height: 10.0px;"&gt;vtext=31.12.0049 vdate=31DEC5149&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier; min-height: 10.0px;"&gt;vtext=01.01.0050 vdate=01JAN5050&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier; min-height: 10.0px;"&gt;vtext=31.12.0099 vdate=31DEC5099&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier;"&gt;vtext=01.01.0100 vdate=.&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier;"&gt;vtext=31.12.1581 vdate=.&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 8.0px Courier;"&gt;vtext=01.01.1582 vdate=01JAN1582&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So years from 0001 to 0099, which should be rejected as out-of-range, are instead processed using the YEARCUTOFF option, as if the two leading zeroes weren't there. Documentation says that YEARCUTOFF only applies to 2-digit years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a workaround. Define an informat like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #000080;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;format&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;invalue&lt;/SPAN&gt; dmy111_&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #800080;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;'01.01.0001'&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New;"&gt; other&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = [&lt;SPAN style="color: #008080;"&gt;ddmmyy10.&lt;/SPAN&gt;] ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Courier New; color: #000080;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use it to process the date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;christyh wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting some raw data that has the following dates in the file:&amp;nbsp; 01.01.0001 but when I read it in, it comes in as 01.01.2001.&amp;nbsp; Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;DATA&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;input polno $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtstrt $10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prdtend $10.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA1 01.01.000131.12.9999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA2 01.01.000131.12.9999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA3 01.01.200115.10.2009&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA4 01.11.201001.11.2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA5 01.03.201101.03.2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; font-size: 10pt;"&gt;AA6 01.05.201101.05.2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;I need to be able to distinguish 0001 from 2001.&amp;nbsp; I don't mind if all these values are set to missing, just don't want them in the dataset as 2001.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;Christy&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 21:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52756#M11155</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2011-08-23T21:50:58Z</dc:date>
    </item>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52757#M11156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response... so in this case, the raw year is 0001, why is it being imputted as 2001?&amp;nbsp; Based on your response I believe the value should be null (and that would be great) but it actually is being read in as a 2001 date which I don't want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Christy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 21:51:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52757#M11156</guid>
      <dc:creator>christyh</dc:creator>
      <dc:date>2011-08-23T21:51:00Z</dc:date>
    </item>
    <item>
      <title>Reading in 01.01.0001 dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52758#M11157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks so much!&amp;nbsp; that's exactly what I was after &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 21:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-01-01-0001-dates/m-p/52758#M11157</guid>
      <dc:creator>christyh</dc:creator>
      <dc:date>2011-08-23T21:54:03Z</dc:date>
    </item>
  </channel>
</rss>

