<?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 today - 2 working days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452781#M168967</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 can also try NetWorkDays(). To quote from the manual ....&lt;/P&gt;&lt;P&gt;"networkdays (start:date, end_date {, holiday})&lt;/P&gt;&lt;P&gt;Returns the number of working days (Monday- Friday) between and including start_date and end_&lt;/P&gt;&lt;P&gt;date taking into account any optionally listed holidays. All parameters should be valid dates or times-tamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;networkdays ('2007-02-19', '2007-03-01') returns 9&amp;nbsp; &lt;/P&gt;&lt;P&gt;networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26') returns 8"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2012 12:26:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-28T12:26:56Z</dc:date>
    <item>
      <title>Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452779#M168965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to make at the time of loading a date variable is set to Day - 2 working days, anyone know how to subtract 2 days excluding Saturday and Sunday&lt;/P&gt;&lt;P&gt;in script? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452779#M168965</guid>
      <dc:creator />
      <dc:date>2012-09-28T11:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452780#M168966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;firstworkdate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 8pt;"&gt;) &lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452780#M168966</guid>
      <dc:creator />
      <dc:date>2012-09-28T12:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452781#M168967</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 can also try NetWorkDays(). To quote from the manual ....&lt;/P&gt;&lt;P&gt;"networkdays (start:date, end_date {, holiday})&lt;/P&gt;&lt;P&gt;Returns the number of working days (Monday- Friday) between and including start_date and end_&lt;/P&gt;&lt;P&gt;date taking into account any optionally listed holidays. All parameters should be valid dates or times-tamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;networkdays ('2007-02-19', '2007-03-01') returns 9&amp;nbsp; &lt;/P&gt;&lt;P&gt;networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26') returns 8"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452781#M168967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-28T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452782#M168968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but how do I put this date in a variable in the script, Set and Let not work ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452782#M168968</guid>
      <dc:creator />
      <dc:date>2012-09-28T12:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452783#M168969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET varTwoDaysBack = FirstWorkDate(Today(),3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't forget to end the statement with a semicolon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452783#M168969</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-09-28T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452784#M168970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to put single quotes before and after the filter to date, I do this in the script + or &amp;amp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452784#M168970</guid>
      <dc:creator />
      <dc:date>2012-09-28T12:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get today - 2 working days</title>
      <link>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452785#M168971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solve this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chr(39) &amp;amp; FirstWorkDate(Today(),3) &amp;amp; chr(39);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-today-2-working-days/m-p/452785#M168971</guid>
      <dc:creator />
      <dc:date>2012-09-28T12:54:09Z</dc:date>
    </item>
  </channel>
</rss>

