<?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: Calculating duration between to date time stamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870947#M304488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way,&lt;/P&gt;&lt;P&gt;=Interval(Interval(Sum(ProProductiveTime),'hh:mm:ss') - Interval(Sum(ProNonProductiveTime),'hh:mm:ss'),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 12:40:53 GMT</pubDate>
    <dc:creator>buzzy996</dc:creator>
    <dc:date>2015-05-28T12:40:53Z</dc:date>
    <item>
      <title>Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870946#M304487</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;I have read just about all of the discussions on this issue, and am not able to resolve my issue.&lt;/P&gt;&lt;P&gt;I am extracting data from MySQL, for the SugarCRM system that we use. The date/time format looks like this:&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="288" width="174"&gt; &lt;PARAM name="DocName" value="Y:\Business Knowledge\Gerald\Qlikview\Savana.qvw" /&gt;&lt;PARAM name="ObjectID" value="Document\LB53" /&gt;&lt;/OBJECT&gt; &lt;/P&gt;&lt;P&gt;how can I go ahead to calculate the exact time it took to close the query, if the 'Last modified' field that I use, saves it in the same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the Datefield tech brief document trying to get answers, but none of those work. I have attached the qvw. I need the answer given to display as 'hh:mm:Ss'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870946#M304487</guid>
      <dc:creator />
      <dc:date>2015-05-28T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870947#M304488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way,&lt;/P&gt;&lt;P&gt;=Interval(Interval(Sum(ProProductiveTime),'hh:mm:ss') - Interval(Sum(ProNonProductiveTime),'hh:mm:ss'),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870947#M304488</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-28T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870948#M304489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I load this in my load statement or expression tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870948#M304489</guid>
      <dc:creator />
      <dc:date>2015-05-28T12:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870949#M304490</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; font-size: 11.9999990463257px; background-color: #f2f2f2;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; on expression field,not on edit script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870949#M304490</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-28T12:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870950#M304491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. works. if I want to now get max/min/avg? just add the to the front of statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870950#M304491</guid>
      <dc:creator />
      <dc:date>2015-05-28T12:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870951#M304492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,if not works u have little bit twist tht expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870951#M304492</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-28T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870952#M304493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there no way that I can do this in the load script to create a new field i.e "Total time"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 13:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870952#M304493</guid>
      <dc:creator />
      <dc:date>2015-05-28T13:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870953#M304494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;definitely u can do,but i doubt that interval function will work or not though load stmt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 13:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870953#M304494</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-28T13:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating duration between to date time stamps</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870954#M304495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The interval() function works perfectly in the load script.&amp;nbsp; So give it a go and you'll see it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-duration-between-to-date-time-stamps/m-p/870954#M304495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T13:22:53Z</dc:date>
    </item>
  </channel>
</rss>

