<?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 How to Change DATETIME20. TO MMDDYY9. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Change-DATETIME20-TO-MMDDYY9/m-p/446675#M283280</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with date column in DATETIME20.&lt;/P&gt;&lt;P&gt;May i know how i can change it to MMDDYY9. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2018 07:05:26 GMT</pubDate>
    <dc:creator>nicolaskan</dc:creator>
    <dc:date>2018-03-19T07:05:26Z</dc:date>
    <item>
      <title>How to Change DATETIME20. TO MMDDYY9.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Change-DATETIME20-TO-MMDDYY9/m-p/446675#M283280</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with date column in DATETIME20.&lt;/P&gt;&lt;P&gt;May i know how i can change it to MMDDYY9. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 07:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Change-DATETIME20-TO-MMDDYY9/m-p/446675#M283280</guid>
      <dc:creator>nicolaskan</dc:creator>
      <dc:date>2018-03-19T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change DATETIME20. TO MMDDYY9.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Change-DATETIME20-TO-MMDDYY9/m-p/446683#M283281</link>
      <description>&lt;P&gt;If the column has a format of datetime20. then it is a datetime column not a data one. To convert it to a date column try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  Date_Column = datepart(Date_Column);
  format Date_Column mmddyy9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Mar 2018 07:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Change-DATETIME20-TO-MMDDYY9/m-p/446683#M283281</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-03-19T07:39:08Z</dc:date>
    </item>
  </channel>
</rss>

