<?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: How to get difference among system data and recorded date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756963#M58387</link>
    <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;Greeting for the day.&amp;nbsp; Firstly, thank for the solution, but it did not worked for me. As, the interval will take into account date part, which I'm not looking for.&lt;/P&gt;&lt;P&gt;But, still thanks as I am novice to qliksense. I came across available function Interval. It may help me in future.&lt;/P&gt;&lt;P&gt;I will post the derived solution by me, for my specific need soon..&lt;/P&gt;&lt;P&gt;Have a nice day ahead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:48:10 GMT</pubDate>
    <dc:creator>Sagar082</dc:creator>
    <dc:date>2020-10-29T08:48:10Z</dc:date>
    <item>
      <title>How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756540#M58351</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Greeting for the day. I'm facing challenge while taking into account date difference, System date and recorded data in the data. I'm looking for date difference = system date - recorded data.&lt;/P&gt;&lt;P&gt;I apply following algorithm;&lt;/P&gt;&lt;P&gt;date(Now(), 'hh') -Hour(Time([Last Occurrence Time], 'HH:MM:SS')&lt;/P&gt;&lt;P&gt;The above algorithm is giving me the difference, but it not correct.&lt;/P&gt;&lt;P&gt;For e.g.&amp;nbsp; if I have recorded date (22/10/2020 3:36:00 PM) and system date (28/10/2020 12:55:00 PM) then I should have answer&amp;nbsp; &amp;nbsp;2.43&amp;nbsp; instead of that I'm getting answer&amp;nbsp; 5.87 . I'm looking for the difference irrespective of data, only time should be considered.&lt;/P&gt;&lt;P&gt;Also, as another example, when recorded date (9/24/2020 11:56:00 AM) then I'm getting answer&amp;nbsp; 33.86&amp;nbsp; &amp;nbsp; instead of&amp;nbsp; 2.58&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Can somebody explain me, how it is calculated?&lt;/P&gt;&lt;P&gt;Am I making some mistake in formula?&lt;/P&gt;&lt;P&gt;Thanking you in anticipation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 07:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756540#M58351</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2020-10-28T07:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756553#M58353</link>
      <description>&lt;P&gt;If you need the interval between two timestamps you could just subtract them like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interval(Now()-[Last Occurrence Time], 'HH:MM:SS')&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 07:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756553#M58353</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-28T07:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756559#M58354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114630"&gt;@Sagar082&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can bring 2 field in script by convert the Timestamp to Time and subtract in front end.&lt;/P&gt;&lt;P&gt;For ex:&lt;/P&gt;&lt;P&gt;Load *, &lt;STRONG&gt;Time(DateTime , 'HH.mm') as T1, Time(DateTime1, 'HH.mm') as T2&lt;/STRONG&gt; Inline&lt;BR /&gt;[&lt;BR /&gt;DateTime, DateTime1&lt;BR /&gt;22/10/2020 3:36:00 PM,28/10/2020 12:55:00 PM&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;In front end, you can use like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Time(T1 - T2, 'HH.mm')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 08:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756559#M58354</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-28T08:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756963#M58387</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;Greeting for the day.&amp;nbsp; Firstly, thank for the solution, but it did not worked for me. As, the interval will take into account date part, which I'm not looking for.&lt;/P&gt;&lt;P&gt;But, still thanks as I am novice to qliksense. I came across available function Interval. It may help me in future.&lt;/P&gt;&lt;P&gt;I will post the derived solution by me, for my specific need soon..&lt;/P&gt;&lt;P&gt;Have a nice day ahead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756963#M58387</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2020-10-29T08:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756964#M58388</link>
      <description>&lt;P&gt;Hi Mayil,&lt;/P&gt;&lt;P&gt;Greeting for the day. Thank you for solution. You're solution is pretty close to one which I derived.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day ahead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756964#M58388</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2020-10-29T08:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get difference among system data and recorded date</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756966#M58389</link>
      <description>&lt;P&gt;The solution which I derived was as follows;&lt;/P&gt;&lt;P&gt;Time(date(now()), 'hh:mm') - time([var],'hh:mm'), 'hh')&lt;/P&gt;&lt;P&gt;The purpose was to capture the system time and get the difference on the recorded time, irrespective of date as that will be taken care in another logic.&lt;/P&gt;&lt;P&gt;Interval was good option, but it mislead as it take into account date part too.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-difference-among-system-data-and-recorded-date/m-p/1756966#M58389</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2020-10-29T08:53:52Z</dc:date>
    </item>
  </channel>
</rss>

