<?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: Diff two days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400747#M424667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/71618"&gt;Networkdays with saturday&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 13:31:49 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-05T13:31:49Z</dc:date>
    <item>
      <title>Diff two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400746#M424666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I need your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to count the difference between two dates without counting the sundays&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400746#M424666</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-10-05T13:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Diff two days</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400747#M424667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/71618"&gt;Networkdays with saturday&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400747#M424667</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-05T13:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Diff two days</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400748#M424668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/111936" title="https://community.qlikview.com/thread/111936"&gt;Calculate weeks and days in QlikView | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400748#M424668</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-10-05T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Diff two days</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400749#M424669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i see that the solution is to create a function, how to do that please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400749#M424669</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-10-05T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Diff two days</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400750#M424670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function is give by Gysbert in that link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Function GetWorkDays(StartDate, EndDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dCount = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For dt = StartDate To EndDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If WeekDay(dt) &amp;lt;&amp;gt; 1 Then&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dCount = dCount + 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetWorkDays = dCount&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;End Function&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400750#M424670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-05T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Diff two days</title>
      <link>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400751#M424671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SET on top, something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below example is Not your case:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;SET&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;MonthDiff&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = Num(((year($2) * 12) + month($2)) - (((year($1) * 12) + month($1))) + 1); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diff-two-dates/m-p/1400751#M424671</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-10-05T14:01:42Z</dc:date>
    </item>
  </channel>
</rss>

