<?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: Difference in times than span midnight in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422348#M812455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use timestamp (which includes the date) to find the difference instead of just using the Time? Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interval(If(Time2 - Time1 &amp;gt; 0, Time2-Time1, 1+Time2-Time1), 'hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 08:34:43 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-27T08:34:43Z</dc:date>
    <item>
      <title>Difference in times than span midnight</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422347#M812454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with what is probably a fairly simple question to answer.&lt;/P&gt;&lt;P&gt;I need to work out the difference in times that span midnight without them returning a huge negative number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time 1 = 23:59:57&lt;/P&gt;&lt;P&gt;Time 2 = 00:00:18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the answer 00:00:21 but I'm getting the answer -23:59:39.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&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/Difference-in-times-than-span-midnight/m-p/1422347#M812454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in times than span midnight</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422348#M812455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use timestamp (which includes the date) to find the difference instead of just using the Time? Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interval(If(Time2 - Time1 &amp;gt; 0, Time2-Time1, 1+Time2-Time1), 'hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422348#M812455</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T08:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in times than span midnight</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422349#M812456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Date(If(Time2 - Time1 &amp;gt; 0, Time2-Time1, Avg(1)+Time2-Time1), 'hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422349#M812456</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T08:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in times than span midnight</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422350#M812457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, Does Date returns same as Interval ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422350#M812457</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T08:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in times than span midnight</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422351#M812458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Adding the 1 to the calculation worked perfectly! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-in-times-than-span-midnight/m-p/1422351#M812458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T08:43:00Z</dc:date>
    </item>
  </channel>
</rss>

