<?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 the diff betweem two date values ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913047#M985684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date#(Left('2015-08-03 00:00:00.000', 10), 'YYYY-MM-DD') - Date#(Left('2014-11-03 00:00:00.000', 10), 'YYYY-MM-DD')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 08:41:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-06T08:41:32Z</dc:date>
    <item>
      <title>How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913046#M985683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me in writing the following expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max((Date(Date#([Start Date],'DD/MM/YYY'),'YYYY/MM/DD'))-Min((Date(Date#([Exp End Date]),'DD/MM/YYYY'),'YYYY/MM/DD'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg , &lt;/P&gt;&lt;P&gt;[Start Date] : &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;'2014-11-03 00:00:00.000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;[Exp End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;: '2015-08-03 00:00:00.000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;Result : 273&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913046#M985683</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2015-08-06T08:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913047#M985684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date#(Left('2015-08-03 00:00:00.000', 10), 'YYYY-MM-DD') - Date#(Left('2014-11-03 00:00:00.000', 10), 'YYYY-MM-DD')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913047#M985684</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-06T08:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913048#M985685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry .... My Date format is like this : DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Start Date]:03/11/2014&lt;/P&gt;&lt;P&gt;[Exp End Date]:03/08/2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913048#M985685</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2015-08-06T08:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913049#M985686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Max(Date#(SubField([Start Date],' ',1),'YYYY-MM-DD'))-Min(Date#(SubField([Exp End Date],' ',1),'YYYY-MM-DD'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913049#M985686</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-06T08:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913050#M985687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Max(Date#([Start Date] ,'DD/MM/YYYY'))-Min(Date#([Exp End Date],'DD/MM/YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913050#M985687</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-06T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the diff betweem two date values ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913051#M985688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have 2 dates fields&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; [Exp End Date] - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Start Date]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if you have 2 date and time and you want the difference in days &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;floor([Exp End Date]) - floor(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;[Start Date])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-diff-betweem-two-date-values/m-p/913051#M985688</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-06T08:51:14Z</dc:date>
    </item>
  </channel>
</rss>

