<?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 into Hours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752857#M1030169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or for 8 hours per day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Dual(Div(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;,28800)&amp;amp;' '&amp;amp;Interval(fmod(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;,28800)/86400, 'hh:mm:ss'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73294" alt="QlikCommunity_Thread_145508_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77226_QlikCommunity_Thread_145508_Pic1.JPG" style="height: 251px; width: 620px;" /&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, 05 Feb 2015 15:44:33 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-02-05T15:44:33Z</dc:date>
    <item>
      <title>Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752853#M1030165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field coming in from a SQL database called business_stc and this field is a time it took to close a ticket in seconds.&amp;nbsp; I have the need to convert this into hours and then somehow convert 8 hours into 1 business day. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752853#M1030165</guid>
      <dc:creator />
      <dc:date>2015-02-05T15:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752854#M1030166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this;&lt;/P&gt;&lt;P&gt;secondsfeild/360 this will convert hrs&lt;/P&gt;&lt;P&gt;Days conversion:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;(secondsfeild/360)/8 as days&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752854#M1030166</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-02-05T15:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752855#M1030167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just multiply it?&amp;nbsp; Really if you multiply I&lt;SPAN class="s1" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;nterval&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Interval#&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(business_stc&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'ss'),'d hh:mm:ss') &lt;/SPAN&gt; by 3 shouldn't that give you an 8 hour day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert the seconds into hours though you can use the following:&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;STRONG&gt;FLOOR&lt;/STRONG&gt;((&lt;STRONG&gt;AVG&lt;/STRONG&gt;(&lt;STRONG&gt;SECONDS&lt;/STRONG&gt;)/3600))&amp;amp;'h'&amp;amp;&lt;STRONG&gt;ROUND&lt;/STRONG&gt;(&lt;STRONG&gt;MOD&lt;/STRONG&gt;(&lt;STRONG&gt;ROUND&lt;/STRONG&gt;(&lt;STRONG&gt;AVG&lt;/STRONG&gt;(&lt;STRONG&gt;SECONDS&lt;/STRONG&gt;)),3600)/60)&amp;amp;'min'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752855#M1030167</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-02-05T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752856#M1030168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Interval(business_stc/86400)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752856#M1030168</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-05T15:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752857#M1030169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or for 8 hours per day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Dual(Div(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;,28800)&amp;amp;' '&amp;amp;Interval(fmod(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;,28800)/86400, 'hh:mm:ss'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;business_stc&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73294" alt="QlikCommunity_Thread_145508_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77226_QlikCommunity_Thread_145508_Pic1.JPG" style="height: 251px; width: 620px;" /&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, 05 Feb 2015 15:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752857#M1030169</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-05T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752858#M1030170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I was able to enter the above in my script and create a new field.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752858#M1030170</guid>
      <dc:creator />
      <dc:date>2015-02-05T16:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Seconds into Hours</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752859#M1030171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome&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, 05 Feb 2015 16:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Seconds-into-Hours/m-p/752859#M1030171</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-02-05T16:35:12Z</dc:date>
    </item>
  </channel>
</rss>

