<?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 SAS DATE in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DATE/m-p/302129#M60679</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a character variable with dates that look like this: 04221999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the varaiable to stay a character variable and to look like this: 04/22/1999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I go about making this conversion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2016 18:31:04 GMT</pubDate>
    <dc:creator>music_is_m</dc:creator>
    <dc:date>2016-10-03T18:31:04Z</dc:date>
    <item>
      <title>SAS DATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DATE/m-p/302129#M60679</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a character variable with dates that look like this: 04221999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the varaiable to stay a character variable and to look like this: 04/22/1999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I go about making this conversion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-DATE/m-p/302129#M60679</guid>
      <dc:creator>music_is_m</dc:creator>
      <dc:date>2016-10-03T18:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DATE/m-p/302140#M60680</link>
      <description>&lt;P&gt;While I think you would be better off creating a numeric variable instead of changing the character variable, that's a different story.&amp;nbsp; Keeping my opinion out of it, here is a possibility:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;length datevar $ 10;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;datevar = put (input(datevar, mmddyy8.), mmddyys10.);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "s" in the middle of the new format name indicates that slashes should be used as separators.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:07:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-DATE/m-p/302140#M60680</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-10-03T19:07:11Z</dc:date>
    </item>
  </channel>
</rss>

