<?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 Count number of months between two dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540620#M62717</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Need help in writing &amp;nbsp;a expression in a chart &amp;nbsp;,which count the number of months b/w Date1 and Date2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 07:46:44 GMT</pubDate>
    <dc:creator>kunkumnaveen</dc:creator>
    <dc:date>2021-04-02T07:46:44Z</dc:date>
    <item>
      <title>Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540620#M62717</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Need help in writing &amp;nbsp;a expression in a chart &amp;nbsp;,which count the number of months b/w Date1 and Date2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540620#M62717</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-04-02T07:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540625#M62718</link>
      <description>&lt;P&gt;Try:&amp;nbsp;&lt;STRONG&gt;&amp;nbsp; Month(Date#(End_date,'DD-MM-YYYY'))-Month(Date#(Start_date,'DD-MM-YYYY'))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 06:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540625#M62718</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-02-07T06:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540641#M62719</link>
      <description>&lt;P&gt;Thanks Anushree,&lt;/P&gt;&lt;P&gt;some issue in the expression&lt;/P&gt;&lt;P&gt;Month(Date#('31-02-2019','DD-MM-YYYY'))-Month(Date#('01-01-2019','DD-MM-YYYY'))&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count=2 which is right&lt;/P&gt;&lt;P&gt;Month(Date#('31-02-2019','DD-MM-YYYY'))-Month(Date#('01-01-2018','DD-MM-YYYY'))&lt;/P&gt;&lt;P&gt;Count =2 &amp;nbsp;which is wrong suppose to be more than 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 07:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540641#M62719</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2019-02-07T07:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540654#M62720</link>
      <description>&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;((year(Date#('31-02-2019','DD-MM-YYYY'))*12)+month(Date#('31-02-2019','DD-MM-YYYY'))) - (((year(Date#('01-01-2018','DD-MM-YYYY'))*12)+month(Date#('01-01-2018','DD-MM-YYYY'))))&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 07:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540654#M62720</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-02-07T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540669#M62721</link>
      <description>&lt;P&gt;Thanks ,it worked ,can u plz help me in understanding ur expression ,y do we need multiple year with 12&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 08:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540669#M62721</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2019-02-07T08:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of months between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540676#M62722</link>
      <description>&lt;P&gt;Multiplying years from both From and End Date is essential to track the years in hand supposedly from and to both are same years you will see the difference in months in case they are different an additive 12&amp;nbsp; is required for the difference in months .&lt;/P&gt;&lt;P&gt;If its not clear just take 2 different years and do the math like 2000 - 02 Vs 2002 -05 so when i multiply 2 ;Month difference between 2 Years is 24 (2002 -2000-&amp;gt;2 Yrs -&amp;gt;24 Months)+Difference in Months 5-2-&amp;gt;3&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now its 24+3=27&lt;/P&gt;&lt;P&gt;Hope this is clear&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 08:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-number-of-months-between-two-dates/m-p/1540676#M62722</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-02-07T08:36:13Z</dc:date>
    </item>
  </channel>
</rss>

