<?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 between two dates in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456931#M11671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;interval(field1-field2,'m&lt;/STRONG&gt;m') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this in any condition like if (&lt;SPAN style="font-size: 13.3333px;"&gt;interval(field1-field2,'mm') &amp;gt;30 , eepression1, expression2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 10:41:29 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2018-01-02T10:41:29Z</dc:date>
    <item>
      <title>Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456930#M11670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields and i would like to have the difference between them :&lt;/P&gt;&lt;P&gt;The two fileds are &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;timestamp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and I need to have condition the difference is &amp;gt; 30 minutes &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="Difference.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188526_Difference.png" style="height: 524px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/211603"&gt;omarbensalem&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456930#M11670</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T10:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456931#M11671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;interval(field1-field2,'m&lt;/STRONG&gt;m') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this in any condition like if (&lt;SPAN style="font-size: 13.3333px;"&gt;interval(field1-field2,'mm') &amp;gt;30 , eepression1, expression2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456931#M11671</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T10:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456932#M11672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find difference between two timestamp use &lt;/P&gt;&lt;P&gt;interval()&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;interval(dateField1-dateField2,'mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456932#M11672</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-02T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456933#M11673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interval(Filed 2 - Field 1,'mm:ss')&lt;/P&gt;&lt;P&gt;Thanks for all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456933#M11673</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456934#M11674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this for the condition but it doesn't work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if (&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;interval(field1-field2,'mm') &amp;gt;30 , eepression1, expression2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456934#M11674</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456935#M11675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where exactly are you using this? and if you need only minutes why using mm:ss?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456935#M11675</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T11:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456936#M11676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes yes I delete the ss and i tryed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;interval(field1-field2,'mm') &amp;gt;30 , eepression1, expression2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;it doesn't work &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456936#M11676</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T11:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456937#M11677</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;use if(num(num#(&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;interval(field1-field2,'mm') &amp;gt;30&lt;/SPAN&gt;)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;epression1, expression2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;interval() is formatting function it wont convert actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456937#M11677</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-02T11:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456938#M11678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Preshant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(num(num#( interval(Field2-Field1,'mm') &amp;gt;30)),'Hello', 'No') and this is the result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="result.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188559_result.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value is 189 &amp;gt; 30 and it display 'No '&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456938#M11678</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T11:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456939#M11679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if(num(num#(interval(Field2-Field1,'mm'),'###'))&amp;gt;30,'Hello', 'No')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456939#M11679</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-01-02T11:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456940#M11680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you it works &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456940#M11680</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2018-01-02T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two dates</title>
      <link>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456941#M11681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you just need num# here. num is not needed. Anyways if you are getting the answers it is well and good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 14:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Difference-between-two-dates/m-p/1456941#M11681</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T14:14:21Z</dc:date>
    </item>
  </channel>
</rss>

