<?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: Calculation between Dates - Networkdays in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830260#M68420</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/24530"&gt;@jerryr125&lt;/a&gt;&amp;nbsp; Networkday function takes the first parameter as start date and second parameter as End date. In your case you need to reverse the Dates like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetWorkDays(WDate,PRDate)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 16:55:19 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2021-08-20T16:55:19Z</dc:date>
    <item>
      <title>Calculation between Dates - Networkdays</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830251#M68419</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my dataload I am creating a field to calculate number of days between two days.&lt;/P&gt;&lt;P&gt;Field:&amp;nbsp; PRDate&lt;/P&gt;&lt;P&gt;Format: mm/dd/yyyy&lt;/P&gt;&lt;P&gt;Example: 7/08/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field: WDate&lt;/P&gt;&lt;P&gt;Format: mm/dd/yyyy&lt;/P&gt;&lt;P&gt;Example: 6/29/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;P&gt;Floor(PRDate)-floor(WDate)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value: 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetWorkDays(PRDate,WDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value:&amp;nbsp; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why does the Formula for NetWorkDays display 0 ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would think the value should be 7&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 15:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830251#M68419</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-08-20T15:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation between Dates - Networkdays</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830260#M68420</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/24530"&gt;@jerryr125&lt;/a&gt;&amp;nbsp; Networkday function takes the first parameter as start date and second parameter as End date. In your case you need to reverse the Dates like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetWorkDays(WDate,PRDate)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830260#M68420</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-20T16:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation between Dates - Networkdays</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830262#M68421</link>
      <description>&lt;P&gt;Excellent -thank you !&amp;nbsp; Works perfectly!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 17:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-between-Dates-Networkdays/m-p/1830262#M68421</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-08-20T17:28:17Z</dc:date>
    </item>
  </channel>
</rss>

