<?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: Get num of days between 2 dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590210#M1118146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks , but didnt get y u add 1 to each??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Feb 2014 16:23:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-15T16:23:28Z</dc:date>
    <item>
      <title>Get num of days between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590207#M1118143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i get the number of days between two dates&lt;/P&gt;&lt;P&gt;without counting the weekend which are &lt;STRONG style="text-decoration: underline;"&gt;Friday&lt;/STRONG&gt; and &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Saturday &amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 11:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590207#M1118143</guid>
      <dc:creator />
      <dc:date>2014-02-15T11:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get num of days between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590208#M1118144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create a flag in script as&lt;/P&gt;&lt;P&gt;If(WeekDay(Date) = 4 or WeekDay(Date) = 5, 0 , 1) as Flag&lt;/P&gt;&lt;P&gt;and can count the no of working days as SUM(Flag)&lt;/P&gt;&lt;P&gt;Please check enclosed file which may help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 12:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590208#M1118144</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-15T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get num of days between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590209#M1118145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the networkdays function: networkdays(DateA+1, DateB+1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 12:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590209#M1118145</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-15T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get num of days between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590210#M1118146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks , but didnt get y u add 1 to each??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 16:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590210#M1118146</guid>
      <dc:creator />
      <dc:date>2014-02-15T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get num of days between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590211#M1118147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NetWorkDays(Start,End,Holidays) will give you total number of working days excluding Saturdays and Sundays.&lt;/P&gt;&lt;P&gt;i.e. Monday to Friday working days&lt;/P&gt;&lt;P&gt;Saturday and Sunday WeekEnds&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;By adding 1 to Start and End Date, we are forcing NetWorkDays to count this calculation by shifting one place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i.e. Sunday to Thursday working days&lt;/P&gt;&lt;P&gt;Friday and Saturday WeekEnds...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 16:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-num-of-days-between-2-dates/m-p/590211#M1118147</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-15T16:38:24Z</dc:date>
    </item>
  </channel>
</rss>

