<?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 calculate date difference from current system date time, that is greater than one day in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725600#M55286</link>
    <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Thanks for your response, below expression suggested by you is working fine.&lt;/P&gt;&lt;P&gt;How to calculate the value in hours, I have some sla_time for each of the complains, and I have to calculate, if the time taken to resolve the complains in comparison with current date time is greater then sla_time.&lt;/P&gt;&lt;P&gt;Below is the expression I am using which gives me blank value.&lt;/P&gt;&lt;P&gt;Here &lt;STRONG&gt;Complain_datetime&lt;/STRONG&gt;&amp;nbsp;consist value like :- '01-04-2020 06:27:45' (changed the format in script itself)&lt;/P&gt;&lt;P&gt;if(round(avg(Interval(Now()-&lt;STRONG&gt;Complain_datetime&lt;/STRONG&gt;,'hh')))&amp;gt;sla_time,count(comp_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 07:54:31 GMT</pubDate>
    <dc:creator>abc_18</dc:creator>
    <dc:date>2020-07-07T07:54:31Z</dc:date>
    <item>
      <title>How to calculate date difference from current system date time, that is greater than one day</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725390#M55247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a date field called 'Complain_datetime'.&lt;/P&gt;&lt;P&gt;Requirement is to get the count&amp;nbsp; of&amp;nbsp; complaint ID's, for which date difference with respect to current system date is greater thn 1 day.&lt;/P&gt;&lt;P&gt;How to achieve this, please suggest.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725390#M55247</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2024-11-16T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate date difference from current system date time, that is greater than one day</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725394#M55248</link>
      <description>&lt;P&gt;Would you be able to share sample data ?&lt;/P&gt;&lt;P&gt;Meanwhile you can try below expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[&lt;SPAN&gt;complaint ID]&lt;/SPAN&gt;={"=today()-&lt;STRONG&gt;Complain_datetime&lt;/STRONG&gt;&amp;gt;1"}&amp;gt;}ID)&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725394#M55248</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-06T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate date difference from current system date time, that is greater than one day</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725600#M55286</link>
      <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Thanks for your response, below expression suggested by you is working fine.&lt;/P&gt;&lt;P&gt;How to calculate the value in hours, I have some sla_time for each of the complains, and I have to calculate, if the time taken to resolve the complains in comparison with current date time is greater then sla_time.&lt;/P&gt;&lt;P&gt;Below is the expression I am using which gives me blank value.&lt;/P&gt;&lt;P&gt;Here &lt;STRONG&gt;Complain_datetime&lt;/STRONG&gt;&amp;nbsp;consist value like :- '01-04-2020 06:27:45' (changed the format in script itself)&lt;/P&gt;&lt;P&gt;if(round(avg(Interval(Now()-&lt;STRONG&gt;Complain_datetime&lt;/STRONG&gt;,'hh')))&amp;gt;sla_time,count(comp_id))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-date-difference-from-current-system-date-time/m-p/1725600#M55286</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2020-07-07T07:54:31Z</dc:date>
    </item>
  </channel>
</rss>

