<?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 Difference between two field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824453#M1021732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new in qlikview. Need your help to solve this issue. Please find my problem from below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two date fields in String format. I will convert them into date formate "&lt;STRONG&gt;MM/YY&lt;/STRONG&gt;". After convert into date formate then i will find out no of month between two fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp: Lot_month: 03/12 and to_moth_year: 03/15. Difference between two field will be 36 month. Please help me to write down the expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Masba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 06:06:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-31T06:06:40Z</dc:date>
    <item>
      <title>Date Difference between two field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824453#M1021732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new in qlikview. Need your help to solve this issue. Please find my problem from below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two date fields in String format. I will convert them into date formate "&lt;STRONG&gt;MM/YY&lt;/STRONG&gt;". After convert into date formate then i will find out no of month between two fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp: Lot_month: 03/12 and to_moth_year: 03/15. Difference between two field will be 36 month. Please help me to write down the expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Masba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824453#M1021732</guid>
      <dc:creator />
      <dc:date>2015-03-31T06:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference between two field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824454#M1021733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find an example attached. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824454#M1021733</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-03-31T06:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference between two field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824455#M1021734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the difference of years *12 + the difference of months&lt;/P&gt;&lt;P&gt;replace with your fields&lt;/P&gt;&lt;P&gt;= (right('03/15' ,2) - right('03/12',2))*12 +&amp;nbsp; (left('03/15' ,2) - left('03/12',2))&amp;nbsp; &lt;/P&gt;&lt;P&gt;--&amp;gt; 36&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824455#M1021734</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-31T06:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference between two field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824456#M1021735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;= ((year(date#('3/23/2015')) - year(date#('1/1/2014'))) * 12)&lt;BR /&gt;+&lt;BR /&gt;(Month(date#('3/23/2015')) - Month(date#('1/1/2014')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824456#M1021735</guid>
      <dc:creator />
      <dc:date>2015-03-31T06:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference between two field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824457#M1021736</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;You can try this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(StringDatefield,'MMM/YY'),'MM/YY') as First,&lt;/P&gt;&lt;P&gt;Date(Date#(StringDatefield,'MMM/YY'),'MM/YY') as Last&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In text object can use below one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (Last-First)/(365/12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Difference-between-two-field/m-p/824457#M1021736</guid>
      <dc:creator />
      <dc:date>2015-03-31T07:02:37Z</dc:date>
    </item>
  </channel>
</rss>

