<?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 Calculate the difference between today and a future date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254118#M1194036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; I wonder how I can calculate the difference in days between today and a future date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dateformat I'm using is YYYY-MM-DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do I do to caluclate the difference between today, 31 st of May, and for example 17 th of June?&lt;/P&gt;&lt;P&gt;And if I want to exclude weekends (they should not be calculated) how do I do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 14:03:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-31T14:03:29Z</dc:date>
    <item>
      <title>Calculate the difference between today and a future date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254118#M1194036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; I wonder how I can calculate the difference in days between today and a future date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dateformat I'm using is YYYY-MM-DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do I do to caluclate the difference between today, 31 st of May, and for example 17 th of June?&lt;/P&gt;&lt;P&gt;And if I want to exclude weekends (they should not be calculated) how do I do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 14:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254118#M1194036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T14:03:29Z</dc:date>
    </item>
    <item>
      <title>Calculate the difference between today and a future date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254119#M1194037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you should be able to use the function networkdays() as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;networkdays(today(),makedate(2011,6,17))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function eliminates Saturdays and Sundays. You could also add dates as a third parameter that should not be counted, such as national holidays. See the QV help for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Jonas, QlikView Consultant @ Optivasys | &lt;A href="http://www.optivasys.se"&gt;www.optivasys.se&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 14:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254119#M1194037</guid>
      <dc:creator />
      <dc:date>2011-05-31T14:11:53Z</dc:date>
    </item>
    <item>
      <title>Calculate the difference between today and a future date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254120#M1194038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 14:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-the-difference-between-today-and-a-future-date/m-p/254120#M1194038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T14:33:29Z</dc:date>
    </item>
  </channel>
</rss>

