<?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 Help with Date Time format and importing data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Date-Time-format-and-importing-data/m-p/240846#M44517</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;My date comes in through this format in my .txt file&amp;nbsp;&amp;nbsp; 2013-10-02 00:00:00.000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to programming and have tried many ways to bring in the data but it conitues to come in bad. Ive even tried to bring it in as text, then use a substring and then convert it to date (but stuck on that last piece now)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you guys please help? I need get the date in MMDDYY10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Dec 2015 02:22:16 GMT</pubDate>
    <dc:creator>val843</dc:creator>
    <dc:date>2015-12-25T02:22:16Z</dc:date>
    <item>
      <title>Help with Date Time format and importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Date-Time-format-and-importing-data/m-p/240846#M44517</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;My date comes in through this format in my .txt file&amp;nbsp;&amp;nbsp; 2013-10-02 00:00:00.000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to programming and have tried many ways to bring in the data but it conitues to come in bad. Ive even tried to bring it in as text, then use a substring and then convert it to date (but stuck on that last piece now)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you guys please help? I need get the date in MMDDYY10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2015 02:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Date-Time-format-and-importing-data/m-p/240846#M44517</guid>
      <dc:creator>val843</dc:creator>
      <dc:date>2015-12-25T02:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Date Time format and importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-with-Date-Time-format-and-importing-data/m-p/240847#M44518</link>
      <description>&lt;P&gt;If you just need the date part then skip the time part of the field :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
attrib myDate format=mmddyy10. informat=yymmdd10.;
input myDate dum $ other;
drop dum;
datalines;
2013-10-02 00:00:00.000 123
;

proc print data=test noobs; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Dec 2015 03:08:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-with-Date-Time-format-and-importing-data/m-p/240847#M44518</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-12-25T03:08:14Z</dc:date>
    </item>
  </channel>
</rss>

