<?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: Why this date11. input date format and not DDMMYY10. ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199624#M49879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have the Month written as a three-letter word, the correct format to use ist the DATE. format. DDMMYY. is for numerical values only (31/12/2008)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 06:50:58 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-04-20T06:50:58Z</dc:date>
    <item>
      <title>Why this date11. input date format and not DDMMYY10. ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199623#M49878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following txt file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;130.192.70.235 - - [08/Jun/2008:23:51:32 -0700] "GET /rover.jpg HTTP/1.1" 200 66820&lt;/P&gt;&lt;P&gt;128.32.236.8 - - [08/Jun/2008:23:51:40 -0700] "GET /grooming.html HTTP/1.0" 200 8471&lt;/P&gt;&lt;P&gt;128.32.236.8 - - [08/Jun/2008:23:51:40 -0700] "GET /Icons/brush.gif HTTP/1.0" 200 89&lt;/P&gt;&lt;P&gt;128.32.236.8 - - [08/Jun/2008:23:51:40 -0700] "GET /H_poodle.gif HTTP/1.0" 200 1852&lt;/P&gt;&lt;P&gt;118.171.121.37 - - [08/Jun/2008:23:56:46 -0700] "GET /bath.gif HTTP/1.0" 200 14079&lt;/P&gt;&lt;P&gt;128.123.121.37 - - [09/Jun/2008:00:57:49 -0700] "GET /lobo.gif HTTP/1.0" 200 18312&lt;/P&gt;&lt;P&gt;128.123.121.37 - - [09/Jun/2008:00:57:49 -0700] "GET /statemnt.htm HTTP/1.0" 200 238&lt;/P&gt;&lt;P&gt;128.75.226.8 - - [09/Jun/2008:01:59:40 -0700] "GET /Icons/leash.gif HTTP/1.0" 200 98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to read in the data, let's focus on the date. The correct solution is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data newdata2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile 'D:\SAS\Messy Data.txt';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input @'[' AccessDate Date11. ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I thought that this is correct:&lt;/P&gt;&lt;P&gt;data newdata2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile 'D:\SAS\Messy Data.txt';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input @'[' AccessDate DDMMYY10. ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about the 10, but at least I thought it has to be the DDMMYY format, because in the txt file, the format of the date values is dd/mm/yyyy. But when I use date11., I thought it should be in something like 1jan1961.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why do I have to use date and not ddmmyy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 06:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199623#M49878</guid>
      <dc:creator>NCEU</dc:creator>
      <dc:date>2015-04-20T06:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why this date11. input date format and not DDMMYY10. ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199624#M49879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have the Month written as a three-letter word, the correct format to use ist the DATE. format. DDMMYY. is for numerical values only (31/12/2008)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 06:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199624#M49879</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-04-20T06:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why this date11. input date format and not DDMMYY10. ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199625#M49880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a largish number of Informats available as there are many different ways that people/systems will write dates.&lt;BR /&gt;DATETIME, ANYDTDTE or ANYDTDETM would also have worked with the appropriate width specified with the understanding that you could have datetime variable or a date variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 15:15:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-this-date11-input-date-format-and-not-DDMMYY10/m-p/199625#M49880</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-20T15:15:11Z</dc:date>
    </item>
  </channel>
</rss>

