<?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 Timstamp Intervals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430820#M459057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;trying to calculate duration in minutes between 2 Timstamps &lt;/P&gt;&lt;P&gt;create Timstamp in script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timestamp(StartDate&amp;amp;' '&amp;amp;StartTime,'YYYYMMDD hh:mm') as StartStamp,&lt;/P&gt;&lt;P&gt;Timestamp(EndDate&amp;amp;' '&amp;amp;EndTime,'YYYYMMDD hh:mm') as EndStamp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculating interval in both script and layout as below&lt;/P&gt;&lt;P&gt;Interval(EndStamp-StartStamp,'hh:mm')&lt;/P&gt;&lt;P&gt;and looks ok but,&lt;/P&gt;&lt;P&gt;when there is a day deference result comes bad... i.e :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end stamp = &lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;"&gt;20171105 00:01 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;"&gt;start stamp = 20171104 23:56&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endstamp - &lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16.363636016845703px;"&gt;startstamp retrieves&amp;nbsp;&amp;nbsp; :&amp;nbsp; -23:54 from script calculation &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16.363636016845703px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;216:06 in layout calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the result is 00:06.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would appreciate your help,&lt;/P&gt;&lt;P&gt;advanced thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 16:02:41 GMT</pubDate>
    <dc:creator>ilanbaruch</dc:creator>
    <dc:date>2017-11-07T16:02:41Z</dc:date>
    <item>
      <title>Timstamp Intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430820#M459057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;trying to calculate duration in minutes between 2 Timstamps &lt;/P&gt;&lt;P&gt;create Timstamp in script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timestamp(StartDate&amp;amp;' '&amp;amp;StartTime,'YYYYMMDD hh:mm') as StartStamp,&lt;/P&gt;&lt;P&gt;Timestamp(EndDate&amp;amp;' '&amp;amp;EndTime,'YYYYMMDD hh:mm') as EndStamp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculating interval in both script and layout as below&lt;/P&gt;&lt;P&gt;Interval(EndStamp-StartStamp,'hh:mm')&lt;/P&gt;&lt;P&gt;and looks ok but,&lt;/P&gt;&lt;P&gt;when there is a day deference result comes bad... i.e :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end stamp = &lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;"&gt;20171105 00:01 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;"&gt;start stamp = 20171104 23:56&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endstamp - &lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16.363636016845703px;"&gt;startstamp retrieves&amp;nbsp;&amp;nbsp; :&amp;nbsp; -23:54 from script calculation &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16.363636016845703px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;216:06 in layout calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the result is 00:06.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would appreciate your help,&lt;/P&gt;&lt;P&gt;advanced thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430820#M459057</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-11-07T16:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Timstamp Intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430821#M459058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Use the below instead of interval&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;(EndStamp-StartStamp)*1440&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430821#M459058</guid>
      <dc:creator>rbailey007</dc:creator>
      <dc:date>2017-11-07T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Timstamp Intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430822#M459059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Time&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Frac&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( '20171104 23:56', 'YYYYMMDD hh:mm')), 'hh:mm')&lt;BR /&gt; -&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Time&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Frac&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( '20171105 00:01', 'YYYYMMDD hh:mm')), 'hh:mm')&lt;BR /&gt; ,'hh mm')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 17:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timstamp-Intervals/m-p/1430822#M459059</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-11-07T17:09:51Z</dc:date>
    </item>
  </channel>
</rss>

