<?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 Converting mmddyy to date9. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678915#M204996</link>
    <description>&lt;P&gt;Hi there, I am having difficulties converting dates.&lt;/P&gt;&lt;P&gt;Currently, the data imported from an excel sheet is shown as 081511 and I wish to convert it to 15AUG2011&lt;/P&gt;&lt;P&gt;Is this possible to do in a data step?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*dummy data (note I imported data from excel);

data SASIDTest;
input Date;
datalines;
090115
092616
042411
052912
071117
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 16:05:49 GMT</pubDate>
    <dc:creator>advmsj</dc:creator>
    <dc:date>2020-08-24T16:05:49Z</dc:date>
    <item>
      <title>Converting mmddyy to date9.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678915#M204996</link>
      <description>&lt;P&gt;Hi there, I am having difficulties converting dates.&lt;/P&gt;&lt;P&gt;Currently, the data imported from an excel sheet is shown as 081511 and I wish to convert it to 15AUG2011&lt;/P&gt;&lt;P&gt;Is this possible to do in a data step?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*dummy data (note I imported data from excel);

data SASIDTest;
input Date;
datalines;
090115
092616
042411
052912
071117
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678915#M204996</guid>
      <dc:creator>advmsj</dc:creator>
      <dc:date>2020-08-24T16:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Converting mmddyy to date9.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678917#M204998</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set SASIDTest;
   dt = input(put(Date, 8.), mmddyy8.);
   format dt date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678917#M204998</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-08-24T16:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Converting mmddyy to date9.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678919#M205000</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-mmddyy-to-date9/m-p/678919#M205000</guid>
      <dc:creator>advmsj</dc:creator>
      <dc:date>2020-08-24T16:12:12Z</dc:date>
    </item>
  </channel>
</rss>

