<?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: Splitting a hh:mm variable (numeric) in two variables hh and mm in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364597#M86485</link>
    <description>&lt;P&gt;It might be better to describe (i.e. show a few examples&amp;nbsp;of)&amp;nbsp;the sort of recoding you need. It may be that you do not need two additional variables at all.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 14:40:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-06-06T14:40:01Z</dc:date>
    <item>
      <title>Splitting a hh:mm variable (numeric) in two variables hh and mm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364475#M86449</link>
      <description>&lt;P&gt;Hoping to get some help with this as I have spent hours searching to no avail!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I &amp;nbsp;have a numerical variable as hh:mm of the type &amp;nbsp;08:30 (time 5.) and would like to split into two num variables hh and mm so that I can do some recoding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does one do that? I have found out about splitting&amp;nbsp;DD/MM/YY:hh:mm but that is not my case as dates are separate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help - thanks so much everyone for reading!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364475#M86449</guid>
      <dc:creator>gabyelle</dc:creator>
      <dc:date>2017-06-06T06:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a hh:mm variable (numeric) in two variables hh and mm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364482#M86455</link>
      <description>Try the hour and minute functions as below&lt;BR /&gt;&lt;BR /&gt;data want;&lt;BR /&gt;set have;&lt;BR /&gt;hour=hour(time);&lt;BR /&gt;minutes=minute(time);&lt;BR /&gt;run;</description>
      <pubDate>Tue, 06 Jun 2017 07:01:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364482#M86455</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-06T07:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a hh:mm variable (numeric) in two variables hh and mm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364597#M86485</link>
      <description>&lt;P&gt;It might be better to describe (i.e. show a few examples&amp;nbsp;of)&amp;nbsp;the sort of recoding you need. It may be that you do not need two additional variables at all.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364597#M86485</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-06T14:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a hh:mm variable (numeric) in two variables hh and mm</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364821#M86565</link>
      <description>&lt;P&gt;Thanks so much - worked perfectly!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 04:25:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Splitting-a-hh-mm-variable-numeric-in-two-variables-hh-and-mm/m-p/364821#M86565</guid>
      <dc:creator>gabyelle</dc:creator>
      <dc:date>2017-06-07T04:25:32Z</dc:date>
    </item>
  </channel>
</rss>

