<?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 seconds to hh:mm:ss in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903630#M998851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; So how did you actually do this test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 20:34:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-25T20:34:30Z</dc:date>
    <item>
      <title>convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903621#M998842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field from SQL that is the number of seconds worked. I would like to convert this to a format of hh:mm:ss and still be able to do aggregations of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL I would use code like:&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; RIGHT('0' + CAST("time_in_seconds" / 3600 AS VARCHAR),2) + ':' +&lt;/P&gt;&lt;P&gt;// RIGHT('0' + CAST(("time_in_seconds" / 60) % 60 AS VARCHAR),2)&amp;nbsp; + ':' +&lt;/P&gt;&lt;P&gt;// RIGHT('0' + CAST("time_in_seconds" % 60 AS VARCHAR),2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView errors when I put this code in the Select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen some ways to format seconds on the front end, which I may end up going with, but I would rather the data be formated appropriately to begin with, so I don't take any extra memory to accomplish this tranformation, especially, since I will need that memory to handle summing the number of seconds and minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any assistance!&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903621#M998842</guid>
      <dc:creator />
      <dc:date>2015-06-25T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903622#M998843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interval(Interval#(time_in_seconds, 'ss'), 'hh:mm:ss') as Time&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903622#M998843</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T19:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903623#M998844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;s:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *, &lt;STRONG&gt;seconds / (24*60*60) as newfield&lt;/STRONG&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;seconds&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3600&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1800&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;7200&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;7800&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;then format newfield in number tab&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90866_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903623#M998844</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-25T19:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903624#M998845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro"&gt;Massimo Grossi&lt;/A&gt;‌ is there a performance benefit of using your method over this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;s:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load *, Interval(Interval#(seconds, 'ss'), '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;seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3600&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1800&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7800&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output is the same&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90864_Capture.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity&lt;STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903624#M998845</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T19:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903625#M998846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both! The first example worked perfectly! &lt;/P&gt;&lt;P&gt;This is very similar to converting it in the front end. I'm still learning how to apply front end script versus back end script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is a performance gain with either option, I would love to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903625#M998846</guid>
      <dc:creator />
      <dc:date>2015-06-25T19:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903626#M998847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried a load, this is the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90873_1.png" style="height: 43px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t: &lt;/EM&gt;&lt;EM&gt;load rowno() as id AutoGenerate 10000000; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; a11: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load Interval(Interval#(rowno(), 'ss'), 'hh:mm:ss') as Time&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident t; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;store a11 into a11.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a12:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load id / (24*60*60)&amp;nbsp; as Time2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident t; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;store a12 into a12.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:17: 0013&amp;nbsp; t:&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:17: 0014&amp;nbsp; load rowno() as id AutoGenerate 10000000&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:17:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 fields found: id, 10.000.000 lines fetched&lt;/P&gt;&lt;P&gt;25/06/2015 &lt;STRONG&gt;21:56:26&lt;/STRONG&gt;: 0017&amp;nbsp; a11:&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:26: 0018&amp;nbsp; load Interval(Interval#(rowno(), 'ss'), 'hh:mm:ss') as Time&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:26: 0019&amp;nbsp; resident t&lt;/P&gt;&lt;P&gt;25/06/2015 21:56:26:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 fields found: Time, 10.000.000 lines fetched&lt;/P&gt;&lt;P&gt;25/06/2015 &lt;STRONG&gt;21:57:35&lt;/STRONG&gt;: 0020&amp;nbsp; store a11 into a11.qvd (qvd)&lt;/P&gt;&lt;P&gt;25/06/2015 &lt;STRONG&gt;21:57:38&lt;/STRONG&gt;: 0023&amp;nbsp; a12:&lt;/P&gt;&lt;P&gt;25/06/2015 21:57:38: 0024&amp;nbsp; load id / (24*60*60)&amp;nbsp; as Time2&lt;/P&gt;&lt;P&gt;25/06/2015 21:57:38: 0025&amp;nbsp; resident t&lt;/P&gt;&lt;P&gt;25/06/2015 21:57:38:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 fields found: Time2, 10.000.000 lines fetched&lt;/P&gt;&lt;P&gt;25/06/2015 &lt;STRONG&gt;21:57:44&lt;/STRONG&gt;: 0026&amp;nbsp; store a12 into a12.qvd (qvd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903626#M998847</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-25T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903627#M998848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro" style="font-size: 13.3333330154419px;"&gt;Massimo Grossi&lt;/A&gt;‌ for sharing the information, but there are few things I would like to share and get your feedback on:&lt;SPAN style="font-size: 13.3333330154419px;"&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I see the difference in size , but why is the formatting different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="90865" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90865_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;May be the formatting is causing the size to be different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) And also I changed the script a little&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;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;t: &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;load rowno() as id AutoGenerate 10000000;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;a11:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;load Interval(Interval#(&lt;SPAN style="text-decoration: line-through;"&gt;rowno()&lt;/SPAN&gt; &lt;STRONG&gt;i&lt;SPAN style="color: #ff0000;"&gt;d&lt;/SPAN&gt;&lt;/STRONG&gt;, 'ss'), 'hh:mm:ss') as Time&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;resident t;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;store a11 into a11.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;a12:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;load id / (24*60*60)&amp;nbsp; as Time2&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;resident t;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;store a12 into a12.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;and saw big jump in performance:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG __jive_id="90875" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90875_Capture.PNG" style="height: 184px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me know what you think?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;P.S. Thanks for sharing a method to do performance testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903627#M998848</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903628#M998849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, remember I'm still fairly new to this.&amp;nbsp; Would you be able to explain how you are doing the performance testing?&amp;nbsp; I know we are a way off topic from the original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand Massimo's post right, the interval option took from &lt;STRONG&gt;21:56:26&lt;/STRONG&gt; to &lt;STRONG&gt;21:57:35, &lt;/STRONG&gt;where as the calculation went from&lt;STRONG&gt; 21:57:38 &lt;/STRONG&gt;to &lt;STRONG&gt;21:57:44, &lt;/STRONG&gt;so basically the difference of 9 seconds to 6 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sunindia's test the interval option too from 4:06:00 to 4:06:15 and the calculation took from 4:06:18 to 4:06:23, which would be the difference between 15 seconds and 5 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I understnading this correctly?&lt;/P&gt;&lt;P&gt;How did you create these files?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903628#M998849</guid>
      <dc:creator />
      <dc:date>2015-06-25T20:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903629#M998850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are absolutely right. I actually did not do the calculations, but the numbers look fairly close time wise &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, 25 Jun 2015 20:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903629#M998850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T20:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903630#M998851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; So how did you actually do this test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903630#M998851</guid>
      <dc:creator />
      <dc:date>2015-06-25T20:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903631#M998852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Create a qvd with the script &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/maxgro"&gt;maxgro&lt;/A&gt;‌ &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;posted and enable logfile:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="90880" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90880_Capture.PNG" style="height: 522px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;and run the report. It will create a logfile in the same folder as the application and will create two qvds: a11 and a12 &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, 25 Jun 2015 20:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903631#M998852</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T20:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903632#M998853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I were you I will go with Massimo's solution because he is master of QlikView and I am novice in front of him. I am just trying to expand my knowledge with bringing out things which might not even be right &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903632#M998853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T20:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903633#M998854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903633#M998854</guid>
      <dc:creator />
      <dc:date>2015-06-25T20:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903634#M998855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your solution worked!...That is a lot further than I would have gotten on my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo's is a little faster though, so i will likely try to implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I'm the novice here. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate the help from both of you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903634#M998855</guid>
      <dc:creator />
      <dc:date>2015-06-25T20:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903635#M998856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) And also I changed the script a little&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;t: &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;load rowno() as id AutoGenerate 10000000;&lt;/EM&gt;&lt;/SPAN&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;a11:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;load Interval(Interval#(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: line-through;"&gt;rowno()&lt;/SPAN&gt; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;i&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;d&lt;/SPAN&gt;&lt;/STRONG&gt;, 'ss'), 'hh:mm:ss') as Time&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;resident t;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;store a11 into a11.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, id is correct, I forgot to change rowno() to id in a11 load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1) I see the difference in size , but why is the formatting different?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;May be the formatting is causing the size to be different?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Don't know why. Maybe &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ or &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ can explain.&lt;/P&gt;&lt;P&gt;I noticed the same thing for date (number / text).&lt;/P&gt;&lt;P&gt;It seems the store to qvd depends on the format (in .qvw, before the store).&lt;/P&gt;&lt;P&gt;And yes, mee too I think the qvd size is different because of formatting.&lt;/P&gt;&lt;P&gt;I suppose the same is true when there are 2 associated tables by a data field: number is better than text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903635#M998856</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-25T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903636#M998857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW this is the same way I learned from the community, I am sure you won't remain novice for too long &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903636#M998857</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-25T20:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903637#M998859</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;interesting thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some testing building on &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt;‌ and &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌‌ code too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14352754775265315 jive_text_macro" jivemacro_uid="_14352754775265315"&gt;
&lt;P&gt;t: load rowno() as id AutoGenerate 10000000;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vStartTime = num(now());&lt;/P&gt;
&lt;P&gt;a11:&lt;/P&gt;
&lt;P&gt;LOAD id, Interval(Interval#(id, 'ss'), 'hh:mm:ss') as Time&lt;/P&gt;
&lt;P&gt;Resident t;&lt;/P&gt;
&lt;P&gt;LET vTraceMessage = 'load time table a11: '&amp;amp;Interval(now()-$(vStartTime));&lt;/P&gt;
&lt;P&gt;TRACE $(vTraceMessage);&lt;/P&gt;
&lt;P&gt;STORE a11 into a11.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vStartTime = num(now());&lt;/P&gt;
&lt;P&gt;a12:&lt;/P&gt;
&lt;P&gt;LOAD id, id/86400&amp;nbsp; as Time2&lt;/P&gt;
&lt;P&gt;Resident t;&lt;/P&gt;
&lt;P&gt;LET vTraceMessage = 'load time table a12 '&amp;amp;Interval(now()-$(vStartTime));&lt;/P&gt;
&lt;P&gt;TRACE $(vTraceMessage);&lt;/P&gt;
&lt;P&gt;STORE a12 into a12.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vStartTime = num(now());&lt;/P&gt;
&lt;P&gt;a13:&lt;/P&gt;
&lt;P&gt;LOAD id, Interval(id/86400, 'hh:mm:ss') as Time3&lt;/P&gt;
&lt;P&gt;Resident t;&lt;/P&gt;
&lt;P&gt;LET vTraceMessage = 'load time table a13 '&amp;amp;Interval(now()-$(vStartTime));&lt;/P&gt;
&lt;P&gt;TRACE $(vTraceMessage);&lt;/P&gt;
&lt;P&gt;STORE a13 into a13.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vStartTime = num(now());&lt;/P&gt;
&lt;P&gt;a14:&lt;/P&gt;
&lt;P&gt;LOAD id, Interval(Round(id/86400,'00:00:01'), 'hh:mm:ss') as Time4&lt;/P&gt;
&lt;P&gt;Resident t;&lt;/P&gt;
&lt;P&gt;LET vTraceMessage = 'load time table a14 '&amp;amp;Interval(now()-$(vStartTime));&lt;/P&gt;
&lt;P&gt;TRACE $(vTraceMessage);&lt;/P&gt;
&lt;P&gt;STORE a14 into a14.qvd (qvd);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_170050_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90892_QlikCommunity_Thread_170050_Pic1.JPG" style="height: 413px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the result are not numerical equal though:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_170050_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90893_QlikCommunity_Thread_170050_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_170050_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/90894_QlikCommunity_Thread_170050_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_170050_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/90895_QlikCommunity_Thread_170050_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's probably best to stick to the QlikView time-functions&lt;SPAN style="font-size: 13.3333330154419px;"&gt; (even if the script runtime is longer)&lt;/SPAN&gt; instead of doing some time arithmetic like suggested here&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2011/10/correct-time-arithmetic/" title="http://qlikviewcookbook.com/2011/10/correct-time-arithmetic/"&gt;Correct Time Arithmetic | Qlikview Cookbook&lt;/A&gt;&amp;nbsp; by &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 23:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903637#M998859</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-25T23:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: convert seconds to hh:mm:ss in script</title>
      <link>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903638#M998861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both methods are good. And the difference between the two is so small so I wouldn't bother about optimizing it. Remember: &lt;A href="http://c2.com/cgi/wiki?PrematureOptimization"&gt;Premature optimization is the root of all evil!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when you compare the two you need to make a fair comparison. For some reason, both Massimo and Sunny used a formatting function in a11 but not in a12. Of course you need to format both. The correct script for a12 should be:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a12:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load &lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG&gt;Interval(&lt;/STRONG&gt; &lt;/EM&gt;id / (24*60*60)&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG&gt;, 'hh:mm:ss')&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; as Time2&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resident t;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store a12 into a12.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;But even here, a12 is faster. The reason is most likely that the interpretation function involves string comparisons, which are slower than pure numeric operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Finally, the small time differences that Marco has discovered are probably due to a small rounding which was done in time functions. (I think this has been removed in recent versions.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;HIC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 07:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-seconds-to-hh-mm-ss-in-script/m-p/903638#M998861</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-26T07:14:37Z</dc:date>
    </item>
  </channel>
</rss>

