<?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 Splitting one column into two in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-one-column-into-two/m-p/366442#M23995</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to split a column namely InvoiceDate which contains information of both time and date into two columsn namely Date and TIme by using SAS Enterprise Guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help on how to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 09:01:42 GMT</pubDate>
    <dc:creator>sheren_deep1</dc:creator>
    <dc:date>2017-06-13T09:01:42Z</dc:date>
    <item>
      <title>Splitting one column into two</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-one-column-into-two/m-p/366442#M23995</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to split a column namely InvoiceDate which contains information of both time and date into two columsn namely Date and TIme by using SAS Enterprise Guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help on how to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-one-column-into-two/m-p/366442#M23995</guid>
      <dc:creator>sheren_deep1</dc:creator>
      <dc:date>2017-06-13T09:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting one column into two</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-one-column-into-two/m-p/366451#M23996</link>
      <description>&lt;P&gt;Post test data in the form of a datastep, we cannot see what you are using. &amp;nbsp;I am going to asume this variable is a dateteime variable in which case:&lt;/P&gt;
&lt;PRE&gt;data want;
  set have;
  dt=datepart(datetime_variable);
  tm=timepart(datetime_variable);
  format dt date9. tm time5.;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-one-column-into-two/m-p/366451#M23996</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-13T09:28:10Z</dc:date>
    </item>
  </channel>
</rss>

