<?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 Date/time difference in Minutes in the load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161051#M35096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above solution won't get me the minyues when the two dates I am working on are in the same day (where the time difference is less than a day)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 May 2010 19:46:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-25T19:46:55Z</dc:date>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161049#M35094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate the following in my load script&lt;/P&gt;&lt;P&gt;StartDatetime - FinishDateTime&lt;/P&gt;&lt;P&gt;the difference should be in minutes (dates could be in the same day or few days apart)&lt;/P&gt;&lt;P&gt;I have tried the inerval function, it display the number of minutes but when I try to take average it does conert to small number (0.00xxx)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 21:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161049#M35094</guid>
      <dc:creator />
      <dc:date>2010-05-21T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161050#M35095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intervals are internally stored as DAYS. If your use of numeric functions has converted it to a number, that number is the number of days. To get minutes, either multiply by 24 * 60, or convert it back to an interval and tell it to display it in minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2010 01:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161050#M35095</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-22T01:28:10Z</dc:date>
    </item>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161051#M35096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above solution won't get me the minyues when the two dates I am working on are in the same day (where the time difference is less than a day)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 19:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161051#M35096</guid>
      <dc:creator />
      <dc:date>2010-05-25T19:46:55Z</dc:date>
    </item>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161052#M35097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try Timestamp(Timestamp#(EndDateTime) - Timestamp#(StartDateTime), 'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 20:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161052#M35097</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-05-25T20:00:59Z</dc:date>
    </item>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161053#M35098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;felmasri wrote:the above solution won't get me the minyues when the two dates I am working on are in the same day (where the time difference is less than a day)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Both approaches I mentioned work just fine for me whether the timestamps are on the same day or on different days. See below and attached. Have I misunderstood your requirement?&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0410.IntervalMinutes.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0410.IntervalMinutes.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Edit: Ah, perhaps I confused you when I said that timestamps are stored in days. I didn't mean a whole number of days. That would be a date, not a timestamp. The time portion of a timestamp is stored as a fraction of a day. So today at noon is stored as 40323.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 20:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161053#M35098</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-25T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161054#M35099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, it works great ...thanks alot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 14:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/161054#M35099</guid>
      <dc:creator />
      <dc:date>2010-05-26T14:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date/time difference in Minutes in the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/1520106#M437448</link>
      <description>&lt;P&gt;Hi Jhon, Iam also getting same issue, How can i retrieve the diff bn 2 date fileds in minutes. I have date format like this&lt;/P&gt;&lt;P&gt;Start date,&amp;nbsp; &amp;nbsp; &amp;nbsp; End date,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Start time,&amp;nbsp; &amp;nbsp;End time&lt;/P&gt;&lt;P&gt;21/05/2018,&amp;nbsp; &amp;nbsp; 22/05/2018,&amp;nbsp; 23:55:20,&amp;nbsp; &amp;nbsp; &amp;nbsp;04:25:45&lt;/P&gt;&lt;P&gt;22/05/2018,&amp;nbsp; &amp;nbsp;22/05/2018,&amp;nbsp; &amp;nbsp;10:43:25,&amp;nbsp; &amp;nbsp; &amp;nbsp;15:55:23&amp;nbsp; &amp;nbsp;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want output like&lt;/P&gt;&lt;P&gt;Start date,&amp;nbsp; &amp;nbsp; &amp;nbsp; End date,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Start time,&amp;nbsp; &amp;nbsp;End time,&amp;nbsp; Total_Time&lt;/P&gt;&lt;P&gt;21/05/2018,&amp;nbsp; &amp;nbsp; 22/05/2018,&amp;nbsp; 23:55:20,&amp;nbsp; &amp;nbsp; &amp;nbsp;04:25:45,&amp;nbsp; &amp;nbsp; &amp;nbsp;270 Min (approximately)&lt;/P&gt;&lt;P&gt;22/05/2018,&amp;nbsp; &amp;nbsp;22/05/2018,&amp;nbsp; &amp;nbsp;10:43:25,&amp;nbsp; &amp;nbsp; &amp;nbsp;15:55:23&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 04:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-time-difference-in-Minutes-in-the-load-script/m-p/1520106#M437448</guid>
      <dc:creator>Kohli</dc:creator>
      <dc:date>2018-12-13T04:29:24Z</dc:date>
    </item>
  </channel>
</rss>

