<?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 problem with NetWorkDays function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-NetWorkDays-function/m-p/243885#M1206597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally fixed up my problem, I just have to put the full format of AMD_DATE, which was 'YYYY-MM-DD hh:mm:ss'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 02:26:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-23T02:26:27Z</dc:date>
    <item>
      <title>problem with NetWorkDays function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-NetWorkDays-function/m-p/243884#M1206596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I am trying to calculate the number of working days between 2 dates, so it seems quite simple, but it does not work... I guess it comes from the format of my data, but I tried many things to make it working.&lt;/P&gt;&lt;P&gt;Here is my code. This is an expression I calculate in a chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;=NetWorkDays(Date#(RCVDATE,'YYYYMMDD'),Date#(AMD_DATE))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;AMD_DATE is a timestamps, I guess it should work without the Date#() but it does not work. RCVDATE is a number which represents a date in the format YYYYMMDD. My date format is D/MM/YYYY, and the function Date#() is well working on other data.&lt;/P&gt;&lt;P&gt;edit: it seems that Date#(AMD_DATE) returns YYYY-MM-DD hh:mm:ss format while Date#(RCVDATE) returns YYYYMMDD format. I guess I need the same format for both, how can I do this?&lt;/P&gt;&lt;P&gt;Has anyone an idea of why it is not working?&lt;/P&gt;&lt;P&gt;Thank you for your answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 01:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-NetWorkDays-function/m-p/243884#M1206596</guid>
      <dc:creator />
      <dc:date>2010-02-23T01:54:29Z</dc:date>
    </item>
    <item>
      <title>problem with NetWorkDays function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-NetWorkDays-function/m-p/243885#M1206597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally fixed up my problem, I just have to put the full format of AMD_DATE, which was 'YYYY-MM-DD hh:mm:ss'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 02:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-NetWorkDays-function/m-p/243885#M1206597</guid>
      <dc:creator />
      <dc:date>2010-02-23T02:26:27Z</dc:date>
    </item>
  </channel>
</rss>

