<?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: Help Reformatting Character Text to Time in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169361#M13005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ballardw,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values vary slightly.&amp;nbsp; Here is an example of the list of values i have for my data from yesterday.&amp;nbsp; This was copied directly from my SAS table to this post.&amp;nbsp; As you can see... the variable changes slightly... i would imagine at some point in the future it would also be possible to see something like 45s.&amp;nbsp; These are average response times...so in order to build my application to be able to automatically calculate and give me the data i need... i have to have these in a format that i can do the calculations.&amp;nbsp; Appreciate any help you can give.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2m 20s.&amp;nbsp; &lt;/P&gt;&lt;P&gt;3m 55s&lt;/P&gt;&lt;P&gt;3m 56s&lt;/P&gt;&lt;P&gt;4m&lt;/P&gt;&lt;P&gt;4m 22s&lt;/P&gt;&lt;P&gt;4m 29s&lt;/P&gt;&lt;P&gt;4m 40s&lt;/P&gt;&lt;P&gt;4m 41s&lt;/P&gt;&lt;P&gt;4m 42s&lt;/P&gt;&lt;P&gt;6m 26s&lt;/P&gt;&lt;P&gt;7m 18s&lt;/P&gt;&lt;P&gt;8m 29s&lt;/P&gt;&lt;P&gt;8m 41s&lt;/P&gt;&lt;P&gt;9m 46s&lt;/P&gt;&lt;P&gt;11m 23s&lt;/P&gt;&lt;P&gt;15m 3s&lt;/P&gt;&lt;P&gt;19m 36s&lt;/P&gt;&lt;P&gt;23m 41s&lt;/P&gt;&lt;P&gt;27m 40s&lt;/P&gt;&lt;P&gt;2h 8m 6s&lt;/P&gt;&lt;P&gt;6h 16m 2s&lt;/P&gt;&lt;P&gt;6h 18m 50s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 21:38:09 GMT</pubDate>
    <dc:creator>D_Z_</dc:creator>
    <dc:date>2014-08-20T21:38:09Z</dc:date>
    <item>
      <title>Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169358#M13002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a project and I have a time field that displays the data in a character field like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2m20s or 6h2m20sec (That is the format the data is in when i import it into SAS form Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to make this into a HH:MM:SS field.&amp;nbsp; Can anyone assist in how I would do this... i cannot find anything that has been helpful so far.&amp;nbsp; I am not sure where to go from here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 18:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169358#M13002</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2014-08-20T18:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169359#M13003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try the informats? &lt;A href="http://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#n0verk17pchh4vn1akrrv0b5w3r0.htm" title="http://support.sas.com/documentation/cdl/en/leforinforref/64790/HTML/default/viewer.htm#n0verk17pchh4vn1akrrv0b5w3r0.htm"&gt;SAS(R) 9.4 Formats and Informats: Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When missing you can do something with fcmp or other thing to build an own informat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169359#M13003</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-20T20:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169360#M13004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the field is already character you can't change it to numeric, which is what a SAS time field would be. You can create a new variable that would be the time but we need to clarify if the value is 6h2m20sec of 6h2m20s and whether the h, m and s are ever upper case.&lt;/P&gt;&lt;P&gt;If the time bits are always h, m and s this is one way.&lt;/P&gt;&lt;P&gt;In a data step&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time= input((translate(timecharactervariablenamegoeshere,':: ','hms')),time8.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format time time8.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169360#M13004</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-08-20T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169361#M13005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ballardw,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values vary slightly.&amp;nbsp; Here is an example of the list of values i have for my data from yesterday.&amp;nbsp; This was copied directly from my SAS table to this post.&amp;nbsp; As you can see... the variable changes slightly... i would imagine at some point in the future it would also be possible to see something like 45s.&amp;nbsp; These are average response times...so in order to build my application to be able to automatically calculate and give me the data i need... i have to have these in a format that i can do the calculations.&amp;nbsp; Appreciate any help you can give.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2m 20s.&amp;nbsp; &lt;/P&gt;&lt;P&gt;3m 55s&lt;/P&gt;&lt;P&gt;3m 56s&lt;/P&gt;&lt;P&gt;4m&lt;/P&gt;&lt;P&gt;4m 22s&lt;/P&gt;&lt;P&gt;4m 29s&lt;/P&gt;&lt;P&gt;4m 40s&lt;/P&gt;&lt;P&gt;4m 41s&lt;/P&gt;&lt;P&gt;4m 42s&lt;/P&gt;&lt;P&gt;6m 26s&lt;/P&gt;&lt;P&gt;7m 18s&lt;/P&gt;&lt;P&gt;8m 29s&lt;/P&gt;&lt;P&gt;8m 41s&lt;/P&gt;&lt;P&gt;9m 46s&lt;/P&gt;&lt;P&gt;11m 23s&lt;/P&gt;&lt;P&gt;15m 3s&lt;/P&gt;&lt;P&gt;19m 36s&lt;/P&gt;&lt;P&gt;23m 41s&lt;/P&gt;&lt;P&gt;27m 40s&lt;/P&gt;&lt;P&gt;2h 8m 6s&lt;/P&gt;&lt;P&gt;6h 16m 2s&lt;/P&gt;&lt;P&gt;6h 18m 50s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:38:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169361#M13005</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2014-08-20T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169362#M13006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my code won't work then as the informat time8. will assume the first number followed by : is hours.&lt;/P&gt;&lt;P&gt;The stimer8. may work though in the input clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 22:19:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169362#M13006</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-08-20T22:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169363#M13007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Ballardw try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background: white; font-family: Consolas;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; times;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; @&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; timetext &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 9pt;"&gt;$12.&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; sastime &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 9pt;"&gt;hhmm8.&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; sastime = input(compress(timetext), &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 9pt;"&gt;stimer9.&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;2m 20s&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;3m 55s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;3m 56s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m 22s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m 29s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m 40s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m 41s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;4m 42s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;6m 26s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;7m 18s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;8m 29s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;8m 41s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;9m 46s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;11m 23s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;15m 3s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;19m 36s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;23m 41s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;27m 40s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;2h 8m 6s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;6h 16m 2s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: #ffffc0; color: black; font-size: 9pt;"&gt;6h 18m 50s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 22:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169363#M13007</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-08-20T22:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169364#M13008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So its a little closer now.. got the time format... but all the results show up 0:00 ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the data step i inputted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data work.want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set WORK.QUERY_FOR_TEST;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format sastime hhmm8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sastime = input(compress(response_time__avg_), stimer9.);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can give.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 23:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169364#M13008</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2014-08-20T23:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169365#M13009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data times;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input @1 timetext $12.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format sastime time11.;&lt;/P&gt;&lt;P&gt;sastime = input(translate(timetext, '::.', 'hms'), stimer9.);&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;2m 20s &lt;/P&gt;&lt;P&gt;3m 55s&lt;/P&gt;&lt;P&gt;3m 56s&lt;/P&gt;&lt;P&gt;4m&lt;/P&gt;&lt;P&gt;4m 22s&lt;/P&gt;&lt;P&gt;4m 29s&lt;/P&gt;&lt;P&gt;4m 40s&lt;/P&gt;&lt;P&gt;4m 41s&lt;/P&gt;&lt;P&gt;4m 42s&lt;/P&gt;&lt;P&gt;6m 26s&lt;/P&gt;&lt;P&gt;7m 18s&lt;/P&gt;&lt;P&gt;8m 29s&lt;/P&gt;&lt;P&gt;8m 41s&lt;/P&gt;&lt;P&gt;9m 46s&lt;/P&gt;&lt;P&gt;11m 23s&lt;/P&gt;&lt;P&gt;15m 3s&lt;/P&gt;&lt;P&gt;19m 36s&lt;/P&gt;&lt;P&gt;23m 41s&lt;/P&gt;&lt;P&gt;27m 40s&lt;/P&gt;&lt;P&gt;2h 8m 6s&lt;/P&gt;&lt;P&gt;6h 16m 2s&lt;/P&gt;&lt;P&gt;6h 18m 50s&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 23:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169365#M13009</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-20T23:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169366#M13010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could just brute force it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; times;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; @&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; timetext &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;$12.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; time &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;time8.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; time=&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10.0pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; word=timetext;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; i=&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;to&lt;/SPAN&gt; &lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp; word=scan(timetext,i,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ( substr(word,length(word)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'s'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) time+input(compress(word,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'s'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;12.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'m'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) time+&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*input(compress(word,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'m'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;12.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;when&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'h'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) time+&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;*input(compress(word,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'h'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;12.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;otherwise&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;put&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; time &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;time8.&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;' &amp;lt;- '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; timetext ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;5s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;0m 10s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;2m 20s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;4m&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;2h 8m 6s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: #FFFFC0;"&gt;4h&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 0:00:05 &amp;lt;- 5s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 0:00:10 &amp;lt;- 0m 10s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 0:02:20 &amp;lt;- 2m 20s&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 0:04:00 &amp;lt;- 4m&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 2:08:06 &amp;lt;- 2h 8m 6s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Courier New';"&gt; 4:00:00 &amp;lt;- 4h&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 23:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169366#M13010</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-08-20T23:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169367#M13011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be okay, except that the data is going to change daily... so the times will never be the same.&amp;nbsp; This report is being used to generate daily data... and i am using an Excel report that i receive daily to make the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't change the times everyday because the # of entries and the response time will change everytime i run the report.&amp;nbsp; We will also be turning it into an automated process... so the excel sheet will move to the directory automatically and the project will run automatically and that data will generate as part of a larger report that will be appended daily to a dataset within the repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 00:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169367#M13011</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2014-08-21T00:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169368#M13012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand that.&amp;nbsp; Not sure how having to fix this time variable changes the normal flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You read the data from Excel into SAS, Clean it up. Produce a report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 00:26:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169368#M13012</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-08-21T00:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169369#M13013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;D.Z every day an excel coming automatically is a contradiction in termino.&amp;nbsp; Excel is meant to be operated manually.&lt;BR /&gt;When there will automated process there must be an automated source that will automated send files in an automated structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That automated structure is your borderline of communicate the information.&lt;BR /&gt;Perhaps you can give some influence on that perhaps not.&amp;nbsp; Having that structure well described the mentioned solutions above can be tried.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 06:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169369#M13013</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-21T06:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169370#M13014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hear you, Japp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling right now with a client who receives key data sources on Excel. They swear up and down that the structure will never change, but color me doubtful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, it's Microsoft's world and they're just nice enough to let us live in it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169370#M13014</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2014-08-21T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169371#M13015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O my, two Tom's, I have to replicate.&amp;nbsp; Tomkari, Microsoft is not that bad, they are also having SQL-server and more of those. Well suited for professional automated processes. The issue is all those human wanting to do it manually, not knowing better.&amp;nbsp; Have to live with that is agreed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169371#M13015</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-21T13:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help Reformatting Character Text to Time</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169372#M13016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for all the great input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally got this to work last night.&amp;nbsp; Here is the code that i used below, which was a direct variation of what Tom posted last night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data work.want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set WORK.QUERY_FOR_TEST;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; format time time8.;&lt;/P&gt;&lt;P&gt;time=.;&lt;/P&gt;&lt;P&gt;word=response_time__avg_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do i=1 to 3 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; word=scan(response_time__avg_,i,' ');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select ( substr(word,length(word)));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when ('s') time+input(compress(word,'s'),12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when ('m') time+60*input(compress(word,'m'),12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when ('h') time+60*60*input(compress(word,'h'),12.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; otherwise&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;put time time8. ' &amp;lt;- ' response_time__avg_;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Japp - I hear ya man!&amp;nbsp; I get excel data from one of our vendors that holds daily raw data... so when that comes in my inbox... i have VBA setup to move that to a network location... then have my EG project scheduled to run... so it picks up the file and runs it.&amp;nbsp; I don't even look at the raw data files anymore.&amp;nbsp; Unfortunately, they just changed their system and i have been rebuilding the project based on the new file structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom - Thank you so much... i think i fell off my chair when i saw a column of time formatted data... i was elated to see that column!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; This is a huge win and I appreciate you help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-Reformatting-Character-Text-to-Time/m-p/169372#M13016</guid>
      <dc:creator>D_Z_</dc:creator>
      <dc:date>2014-08-21T13:32:54Z</dc:date>
    </item>
  </channel>
</rss>

