<?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 number to time format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447040#M608799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just answered my question . lol&lt;/P&gt;&lt;P&gt;I'm using len(field) to define the format and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2017 20:27:01 GMT</pubDate>
    <dc:creator>markgraham123</dc:creator>
    <dc:date>2017-12-07T20:27:01Z</dc:date>
    <item>
      <title>Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447035#M608794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my sample data:&lt;/P&gt;&lt;P&gt;I want to convert number to hh:mm:ss format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached app.&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;311 - 03:11:00&lt;/P&gt;&lt;P&gt;1258 - 12:58:00&lt;/P&gt;&lt;P&gt;84743 - 08:47:43&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447035#M608794</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T17:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447036#M608795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the 311, 1258 ... I mean these are Minutes or Hours or something&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447036#M608795</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-07T17:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447037#M608796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those are numbers.&lt;/P&gt;&lt;P&gt;I have 311, 1258...in my data&lt;/P&gt;&lt;P&gt;I want to show it as the req. O/P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;311 - 03:11:00&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1258 - 12:58:00&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;84743 - 08:47:43&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447037#M608796</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447038#M608797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What Time would these be and why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1254? -&amp;gt; 12:54:00 or 01:25:40&lt;/P&gt;&lt;P&gt;123? -&amp;gt; 12:30:00 or 01:23:00&lt;/P&gt;&lt;P&gt;11231 - &amp;gt; 11:23:10 or 01:12:31&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 18:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447038#M608797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-07T18:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447039#M608798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is 3 digit - 'hmm'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123 is 01:23:00&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;4 digit - &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'hhmm'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1254 is 12:54:00 &lt;/P&gt;&lt;P&gt;&amp;nbsp; 5 digit - 'hhmms'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11231 is 11:23:01&lt;/P&gt;&lt;P&gt;6 digit - 'hhmmss'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103252 is 10:32:52&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447039#M608798</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T20:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447040#M608799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just answered my question . lol&lt;/P&gt;&lt;P&gt;I'm using len(field) to define the format and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447040#M608799</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T20:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447041#M608800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;84753 is a five digit number, but it can't be 84:75:30? but you mentioned it to be hhmms? Did you mean hmmss?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447041#M608800</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-07T20:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447042#M608801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you got it, but I used this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Value,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Time(Time#(Num#(Repeat(0, Pick(Match(Len(Value), 3, 4, 5, 6), 1, 0, 1, 0)) &amp;amp; Value &amp;amp; Repeat(0, Pick(Match(Len(Value), 3, 4, 5, 6), 2, 2, 0, 0))), 'hhmmss'), 'hh:mm:ss') as Time;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1254&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11231&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103252&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 311&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1258&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84743&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 20:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447042#M608801</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-07T20:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447043#M608802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(len(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;)=6, &lt;/P&gt;&lt;P&gt;Time(Time#(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;,'hhmmss'),'hh:mm:ss'),&lt;/P&gt;&lt;P&gt;If(len(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;)=5, &lt;/P&gt;&lt;P&gt;Time(Time#(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;,'hmmss'),'hh:mm:ss'),&lt;/P&gt;&lt;P&gt;If(len(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;)=4, &lt;/P&gt;&lt;P&gt;Time(Time#(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;,'hmms'),'hh:mm:ss'),&lt;/P&gt;&lt;P&gt;If(len(PLTLM)=3, &lt;/P&gt;&lt;P&gt;Time(Time#(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value&lt;/STRONG&gt;,'hmm'),'hh:mm:ss'))))) as &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Value_Final;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sorry sunny. 5-digit is 'hmmss'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 21:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447043#M608802</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T21:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447044#M608803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry sunny ..&lt;/P&gt;&lt;P&gt;5 digit is hmmss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 21:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447044#M608803</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2017-12-07T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert number to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447045#M608804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's already been Assume Answered. Not sure, Whether you got to work or not. Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Date(Date#(Value, 'hmm'),'hh:mm:ss'),Date(Date#(Value, 'hhmm'),'hh:mm:ss'),Date(Date#(Value, 'hhmmss'),'hh:mm:ss'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Value, Len, Pick(Match(Len, 3,4,5), Date(Date#(Value,'hmm'), 'hh:mm:ss'),Date(Date#(Value,'hhmm'), 'hh:mm:ss'),Date(Date#(Value,'hhmmss'), 'hh:mm:ss')) as Time; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, Len(Value) as Len Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;311&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1258&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;84743&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 01:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-number-to-time-format/m-p/1447045#M608804</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-08T01:19:30Z</dc:date>
    </item>
  </channel>
</rss>

