<?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 Intervall in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197413#M386072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello best community ever &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 need to get the intervall between the two dates. The result would be in days/hours/minutes and seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am doing now : &lt;/P&gt;&lt;P&gt;Interval(date(DATE_DERNIERE_MODIF,'DD/MM/YYYY hh:mm:ss') -date(DATE_CREATION, 'DD/MM/YYYY hh:mm:ss'),'DD : hh : mm : ss')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but the result in days&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="140611" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140611_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the result in incorrect? isn't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second question, I have 3900 second, I have to convert it in hours, any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2016 09:34:52 GMT</pubDate>
    <dc:creator>master_student</dc:creator>
    <dc:date>2016-10-14T09:34:52Z</dc:date>
    <item>
      <title>Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197413#M386072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello best community ever &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 need to get the intervall between the two dates. The result would be in days/hours/minutes and seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am doing now : &lt;/P&gt;&lt;P&gt;Interval(date(DATE_DERNIERE_MODIF,'DD/MM/YYYY hh:mm:ss') -date(DATE_CREATION, 'DD/MM/YYYY hh:mm:ss'),'DD : hh : mm : ss')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but the result in days&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="140611" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140611_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the result in incorrect? isn't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second question, I have 3900 second, I have to convert it in hours, any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 09:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197413#M386072</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-10-14T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197414#M386073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seconds is pretty easy... 3900/60/60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the interval should work like that AFAIK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197414#M386073</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-10-14T10:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197415#M386074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The result isn't correct because the 12-hour division of AM respectively PM aren't considered. Therefore try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(DATE_DERNIERE_MODIF,'DD/MM/YYYY hh:mm:ss TT')&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; timetsamp(DATE_CREATION, 'DD/MM/YYYY hh:mm:ss TT'),&lt;/P&gt;&lt;P&gt;'DD : hh : mm : ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it worked without the timestamp like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval(DATE_DERNIERE_MODIF - DATE_CREATION, 'DD : hh : mm : ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your seconds could be converted into hours with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(3900 / (60 * 60), 0.01) = 1.08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197415#M386074</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-14T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197416#M386075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah damn didn't spot the AM/PM issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197416#M386075</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-10-14T10:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197417#M386076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this timestamps are already read as dual, do we need to use TimeStamp function before we use it with the interval? or did you wante to use TimeStamp#() function?&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;STRONG&gt;Interval(&lt;/STRONG&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;TimeStamp&lt;SPAN style="color: #ff0000;"&gt;#&lt;/SPAN&gt;&lt;/SPAN&gt;(DATE_DERNIERE_MODIF,'DD/MM/YYYY hh:mm:ss TT')&lt;/STRONG&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;-&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;TimeStamp&lt;SPAN style="color: #ff0000;"&gt;#&lt;/SPAN&gt;&lt;/SPAN&gt;(DATE_CREATION, 'DD/MM/YYYY hh:mm:ss TT'),&lt;/STRONG&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;'DD : hh : mm : ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197417#M386076</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-14T10:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197418#M386077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you are right. If the values are dual the subtraction should work without any formatting and otherwise they should fail because strings couldn't be subtracted and would need a converting per timestamp#(). But it seems that it is different in this case if I look on the posted formula ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197418#M386077</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-14T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197419#M386078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fot the interval, the issue is resolved. but to convert seconds into hours, there are some wrong result especially if the seconds&amp;lt;3600, look :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140637_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;the formula I am using is : =time(Time#(DUREE_AVANT_CHANGEMENT,'s'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197419#M386078</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-10-14T12:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197420#M386079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Interval(Time#(DUREE_AVANT_CHANGEMENT,'s'), 'h:mm:ss')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197420#M386079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-14T12:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197421#M386080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your formula is giving you the number of seconds from midnight &lt;/P&gt;&lt;P&gt;What do you want it to show?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 12:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197421#M386080</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-10-14T12:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Intervall</title>
      <link>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197422#M386081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Sunny. Now I get the right results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 13:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervall/m-p/1197422#M386081</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2016-10-14T13:15:13Z</dc:date>
    </item>
  </channel>
</rss>

