<?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 months from between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-months-from-between-two-dates/m-p/664818#M1053803</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(enddate)-Month(startdate)+(Year(enddate)-Year(startdate))*12+1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_138849_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69333_QlikCommunity_Thread_138849_Pic1.JPG.jpg" style="width: 620px; height: 111px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 19:06:42 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-10-20T19:06:42Z</dc:date>
    <item>
      <title>How to get months from between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-months-from-between-two-dates/m-p/664817#M1053802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have one requirement, in that i need to calculate the difference between two dates.&lt;/P&gt;&lt;P&gt;For example, start date is 01/01/2011 and end date is 01/31/2014 and i want difference as 37,&lt;/P&gt;&lt;P&gt;if start date is 03/20/2010 and end date is 06/04/2010 then the difference is 4&lt;/P&gt;&lt;P&gt;if start date is 06/07/2009 and end date is 10/03/2010&amp;nbsp; then the difference is 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried using =Floor((Floor([End Date])-Floor([Start Date]))/30) but for some values i'm getting errors for example start date is 03/10/2003 ans end date is 12/31/2003 then the difference should be 10 but i'm getting 9 like that i'm getting some correct values and some incorrect values .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 17:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-months-from-between-two-dates/m-p/664817#M1053802</guid>
      <dc:creator />
      <dc:date>2014-10-20T17:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get months from between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-months-from-between-two-dates/m-p/664818#M1053803</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(enddate)-Month(startdate)+(Year(enddate)-Year(startdate))*12+1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_138849_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69333_QlikCommunity_Thread_138849_Pic1.JPG.jpg" style="width: 620px; height: 111px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 19:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-months-from-between-two-dates/m-p/664818#M1053803</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-20T19:06:42Z</dc:date>
    </item>
  </channel>
</rss>

