<?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: DATETIME20. to MMDDYY10. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338878#M10031</link>
    <description>&lt;P&gt;Awesome. That works perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, RW9.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 16:09:42 GMT</pubDate>
    <dc:creator>amanda_cr</dc:creator>
    <dc:date>2017-03-07T16:09:42Z</dc:date>
    <item>
      <title>DATETIME20. to MMDDYY10.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338843#M10022</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a really simple problem, but I can't seem to find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My date variable is in an informat and format of DATETIME20. I want it to be in a MMDDYY10. format. How do I change my date variable from a DATETIME20. to MMDDYY10. format? I want my date variable that looks like this "01FEB2016:00:00:00" to look like this "02/01/2016."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338843#M10022</guid>
      <dc:creator>amanda_cr</dc:creator>
      <dc:date>2017-03-07T15:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME20. to MMDDYY10.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338853#M10025</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You want the datepart() function:&lt;/P&gt;
&lt;PRE&gt;data want;
  thedt="01FEB2016:00:00:00"dt;
  thedt=datepart(thedt);
  format thedt mmddyy10.;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338853#M10025</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-07T15:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: DATETIME20. to MMDDYY10.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338878#M10031</link>
      <description>&lt;P&gt;Awesome. That works perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, RW9.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DATETIME20-to-MMDDYY10/m-p/338878#M10031</guid>
      <dc:creator>amanda_cr</dc:creator>
      <dc:date>2017-03-07T16:09:42Z</dc:date>
    </item>
  </channel>
</rss>

