<?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: time HHMMSS format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179361#M34248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DN:&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The SGF reviewers obviously don't have a clear concept of what most of us want to see.&amp;nbsp; I haven't seen what may have been selected in the second go round but, from the initial listing, it was just the same old.&amp;nbsp; I've been waiting for years to see you present!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Dec 2013 01:11:30 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2013-12-22T01:11:30Z</dc:date>
    <item>
      <title>time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179355#M34242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would show a time in the format HHMMSS where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HH, MM, SS have &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;/SPAN&gt; 2 digit, I means 9:1:1 in should be 090101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'ev trie time but its behaviour is different.&lt;/P&gt;&lt;P&gt;Do there is a format that works in that way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179355#M34242</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2013-12-20T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179356#M34243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Garag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data _null_;&lt;/P&gt;&lt;P&gt; abc='09:01:12't;&lt;BR /&gt; res=compress(put(abc,time8.),':');&lt;BR /&gt; put res=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 10:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179356#M34243</guid>
      <dc:creator>NagendraKumarK</dc:creator>
      <dc:date>2013-12-20T10:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179357#M34244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;format&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;picture&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; todx other=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; background-color: #ffffff;"&gt;'%0H%0M%0s'&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datatype&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=time);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 12:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179357#M34244</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-20T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179358#M34245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the way I've done it, but I was hoping there was a more direct way.&amp;nbsp; Frankly I'm surprised there isn't a built-in format for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 14:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179358#M34245</guid>
      <dc:creator>jdmarino</dc:creator>
      <dc:date>2013-12-20T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179359#M34246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is that "more direct" way&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;%put %sysfunc( putn( '9:9:9't, B8601TM )) ;&lt;/P&gt;&lt;P&gt;I get&lt;/P&gt;&lt;P&gt;090909&lt;/P&gt;&lt;P&gt;SAS9.2 doc can be found at &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169787.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169787.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Peter Crawford&#xD;
showing how these formats can easily be found ---&amp;gt;&#xD;
Session ID: 1744&#xD;
Session Title: VFORMAT Lets SAS® Do the Format Searching &#xD;
my short paper will be presented some time between 24th and 26th March 2014 in SAS Global Forum&amp;nbsp; &lt;A href="http://www.sasglobalforum.org" target="_blank"&gt;www.sasglobalforum.org&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Dec 2013 13:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179359#M34246</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-12-21T13:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179360#M34247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that one of those 8601 formats might work but I could never find it.&amp;nbsp; I remembered your search technique, I think you showed us that on SAS-L in the not too distant past, but I was too lazy to follow through.&amp;nbsp; Glad to see that you will presenting it at SGF.&amp;nbsp; The SGF reviewers did not like my ideas this year or last, but they did say they hope I enjoy the conference. Right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Dec 2013 23:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179360#M34247</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-21T23:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179361#M34248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DN:&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The SGF reviewers obviously don't have a clear concept of what most of us want to see.&amp;nbsp; I haven't seen what may have been selected in the second go round but, from the initial listing, it was just the same old.&amp;nbsp; I've been waiting for years to see you present!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2013 01:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179361#M34248</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-12-22T01:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179362#M34249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't missed anything, but I do like to hear myself talk. :smileyshocked:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2013 14:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179362#M34249</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-22T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179363#M34250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="replyToName"&gt;NagendraKumarK,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;it does not work, I get &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;90112&lt;/P&gt;&lt;P&gt;but is would get always 2 digit for the hour, 2 for minutes, 2 for hours, I mean in this case I would get 090112&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179363#M34250</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2013-12-23T09:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179364#M34251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running 9.1 and I think that the format B8601TM is not available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; data _null_;&lt;BR /&gt;&amp;nbsp; abc='9:9:2't;&lt;BR /&gt;&amp;nbsp; res=put(abc,B8601TM.);&lt;BR /&gt;&amp;nbsp; put res=;&lt;BR /&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ERROR 48-59: The format B8601TM was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179364#M34251</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2013-12-23T09:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179365#M34252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The developers that have created SAS they never used SAS I think, because otherwise these developers, in the case they used the software they have been produced, they should choosen a name for the format more easy to find&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 10:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179365#M34252</guid>
      <dc:creator>garag</dc:creator>
      <dc:date>2013-12-23T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179366#M34253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="3420" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: I can't recall whether it was or wasn't available in 9.1, but you might want to try it .. adding the desired length to the format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the names, there are so many formats and informats, naming would be problematic for anyone.&amp;nbsp; In the case, the formats conform to the ISO 8601 standard, thus would make sense to some.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 15:42:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179366#M34253</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-12-23T15:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179367#M34254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Try this :&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;format time tod.; /*just to show difference*/&lt;/P&gt;&lt;P&gt;time='9:1:12't;&lt;/P&gt;&lt;P&gt;time6=compress(put(time,tod.),':');&lt;/P&gt;&lt;P&gt;put "time=" time;&lt;/P&gt;&lt;P&gt;put "time6=" time6;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;time=09:01:12&lt;/P&gt;&lt;P&gt;time6=090112&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 12:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179367#M34254</guid>
      <dc:creator>pradeepalankar</dc:creator>
      <dc:date>2013-12-30T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: time HHMMSS format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179368#M34255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;garag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not upgrade from SAS9.1 It is so out-of-date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS don't charge any more when you upgrade your release (but I don't speak for SAS)&lt;/P&gt;&lt;P&gt;everything improves&lt;/P&gt;&lt;P&gt;you might have work to migrate a metadata server&lt;/P&gt;&lt;P&gt;but the effort is worth it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many more improvements than just this little&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;B8601TM&lt;/SPAN&gt; format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 17:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/time-HHMMSS-format/m-p/179368#M34255</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-01-22T17:31:10Z</dc:date>
    </item>
  </channel>
</rss>

