<?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: Time Differrence in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277139#M868112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moses,&lt;/P&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the&amp;nbsp; Expression:&lt;/P&gt;&lt;P&gt;Time(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end_date_time &lt;/STRONG&gt;) - Time (&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;start_date_time&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As @&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;said make sure that ur timestamp should be in timestanp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still if u have any issue then plz try to share some sample data along with output.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nagarjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 10:43:52 GMT</pubDate>
    <dc:creator>nagarjuna_kotha</dc:creator>
    <dc:date>2016-12-05T10:43:52Z</dc:date>
    <item>
      <title>Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277136#M868109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to calculate time difference between &lt;STRONG&gt;start_date_time&lt;/STRONG&gt; and&amp;nbsp; &lt;STRONG&gt;end_date_time &lt;/STRONG&gt;the duration should be form 'hh:mm:ss'&lt;STRONG&gt; &lt;/STRONG&gt; and thereafter I need calculate the total time per CallCentre, Desk, Team_Lead and Agent_Name in a pivot table. I have tried the following expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=interval( &lt;STRONG style="font-size: 13.3333px;"&gt;end_date_time &lt;/STRONG&gt;- &lt;STRONG style="font-size: 13.3333px;"&gt;start_date_time&lt;/STRONG&gt;, 'hh:mm:ss'), but it bring back blanks. Not sure if I have to calculate it on the script level or expression !&lt;IMG alt="Sample Data.PNG" class="jive-image image-1" src="/legacyfs/online/145591_Sample Data.PNG" style="height: 375px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277136#M868109</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277137#M868110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure your timestamps are really timestamps and not strings. Use the Timestamp# function if necessary (in the script preferably) to turn strings into timestamp values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277137#M868110</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-05T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277138#M868111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer &lt;A href="https://community.qlik.com/thread/72729"&gt;Calculate Working Hour Interval Between Two Dates&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277138#M868111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-05T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277139#M868112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moses,&lt;/P&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the&amp;nbsp; Expression:&lt;/P&gt;&lt;P&gt;Time(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end_date_time &lt;/STRONG&gt;) - Time (&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;start_date_time&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As @&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;said make sure that ur timestamp should be in timestanp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still if u have any issue then plz try to share some sample data along with output.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nagarjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277139#M868112</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2016-12-05T10:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277140#M868113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try:&lt;BR /&gt;Interval((Interval(end_date_time, 'hh:mm:ss') - Interval(start_date_time, 'hh:mm:ss')),&amp;nbsp; 'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277140#M868113</guid>
      <dc:creator>vcanale</dc:creator>
      <dc:date>2016-12-05T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277141#M868114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277141#M868114</guid>
      <dc:creator />
      <dc:date>2016-12-05T10:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277142#M868115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should I use it as an expression or in script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277142#M868115</guid>
      <dc:creator />
      <dc:date>2016-12-05T10:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277143#M868116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277143#M868116</guid>
      <dc:creator />
      <dc:date>2016-12-05T10:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277144#M868117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the script: &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;timestamp(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;end_date_time&lt;/SPAN&gt;,'MM/DD/YYYY&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; hh:mm:ss&lt;/STRONG&gt;') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;end_date_time&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;start_date_time&lt;/SPAN&gt;,'MM/DD/YYYY&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; hh:mm:ss&lt;/STRONG&gt;') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;start_date_time&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;Expression:&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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Interval((Interval(end_date_time, 'hh:mm:ss') - Interval(start_date_time, 'hh:mm:ss')),&amp;nbsp; 'hh:mm:ss')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 11:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277144#M868117</guid>
      <dc:creator>vcanale</dc:creator>
      <dc:date>2016-12-05T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time Differrence</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277145#M868118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I&amp;nbsp; have tried and it also worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 11:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Differrence/m-p/1277145#M868118</guid>
      <dc:creator />
      <dc:date>2016-12-05T11:29:31Z</dc:date>
    </item>
  </channel>
</rss>

