<?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: Convert from Character to Time MM:SS in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831434#M41353</link>
    <description>&lt;P&gt;This is exactly how I get the export from the source, So I am unsure what happens with it before it gets to me. But I know that it stands for minutes and seconds&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 16:22:27 GMT</pubDate>
    <dc:creator>ccaudillo100</dc:creator>
    <dc:date>2022-09-01T16:22:27Z</dc:date>
    <item>
      <title>Convert from Character to Time MM:SS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831426#M41350</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A portion of my current table looks like this:&lt;/P&gt;
&lt;TABLE width="44"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="44"&gt;U&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:13&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:00&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:11&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;:00:04&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;and in SAS U is considered Character. I am needing to switch it to numeric with the exact same information. So doing&lt;/P&gt;
&lt;P&gt;Time = (U*1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is not working. Any advice on how to get to the result is appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831426#M41350</guid>
      <dc:creator>ccaudillo100</dc:creator>
      <dc:date>2022-09-01T15:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Convert from Character to Time MM:SS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831429#M41351</link>
      <description>&lt;P&gt;You must create a new variable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have (rename=(u=_u));
u = input("00" !! _u,time8.);
format u mmss5.;
drop _u;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2022 16:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831429#M41351</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-09-01T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert from Character to Time MM:SS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831431#M41352</link>
      <description>&lt;P&gt;Is that value truncated? It looks like it's missing leading 00 with the colon at the front?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 16:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831431#M41352</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-01T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert from Character to Time MM:SS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831434#M41353</link>
      <description>&lt;P&gt;This is exactly how I get the export from the source, So I am unsure what happens with it before it gets to me. But I know that it stands for minutes and seconds&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 16:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831434#M41353</guid>
      <dc:creator>ccaudillo100</dc:creator>
      <dc:date>2022-09-01T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Convert from Character to Time MM:SS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831443#M41354</link>
      <description>&lt;P&gt;In which form do you get your data? Already as a SAS dataset, as a text file, Excel, or through a connection with a database?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Convert-from-Character-to-Time-MM-SS/m-p/831443#M41354</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-09-01T17:13:05Z</dc:date>
    </item>
  </channel>
</rss>

