<?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: INTCK Weekday in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559879#M10400</link>
    <description>&lt;P&gt;INTCK counts the number of boundaries crossed.&amp;nbsp; It does not count May 1, in your example.&amp;nbsp; The first "crossing" is the boundary from May 1 to May 2.&lt;/P&gt;</description>
    <pubDate>Sat, 18 May 2019 14:03:36 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-05-18T14:03:36Z</dc:date>
    <item>
      <title>INTCK Weekday</title>
      <link>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559878#M10399</link>
      <description>&lt;P&gt;data test2;&lt;BR /&gt;weekdays=intck('Weekday','01May2019'd,'18May2019'd);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;it suppose to give me 13 days but giving 12 days, Any one know why it is giving 12 days&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 15:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559878#M10399</guid>
      <dc:creator>Kraj1989</dc:creator>
      <dc:date>2019-05-18T15:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: INTCK Weekday</title>
      <link>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559879#M10400</link>
      <description>&lt;P&gt;INTCK counts the number of boundaries crossed.&amp;nbsp; It does not count May 1, in your example.&amp;nbsp; The first "crossing" is the boundary from May 1 to May 2.&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 14:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559879#M10400</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-05-18T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: INTCK Weekday</title>
      <link>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559932#M10404</link>
      <description>&lt;P&gt;Look at this little test:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;50   data _null_;
51   fromDate = '01May2019'd;
52   do toDate = fromDate to '18May2019'd;
53       weekdays=intck('Weekday', fromDate, toDate);
54       put fromDate downame. +1  fromDate yymmdd10. +1
55           toDate downame. +1    toDate yymmdd10. +1
56           weekDays;
57       end;
58   run;

Wednesday 2019-05-01 Wednesday 2019-05-01 0
Wednesday 2019-05-01  Thursday 2019-05-02 1
Wednesday 2019-05-01    Friday 2019-05-03 2
Wednesday 2019-05-01  Saturday 2019-05-04 2
Wednesday 2019-05-01    Sunday 2019-05-05 2
Wednesday 2019-05-01    Monday 2019-05-06 3
Wednesday 2019-05-01   Tuesday 2019-05-07 4
Wednesday 2019-05-01 Wednesday 2019-05-08 5
Wednesday 2019-05-01  Thursday 2019-05-09 6
Wednesday 2019-05-01    Friday 2019-05-10 7
Wednesday 2019-05-01  Saturday 2019-05-11 7
Wednesday 2019-05-01    Sunday 2019-05-12 7
Wednesday 2019-05-01    Monday 2019-05-13 8
Wednesday 2019-05-01   Tuesday 2019-05-14 9
Wednesday 2019-05-01 Wednesday 2019-05-15 10
Wednesday 2019-05-01  Thursday 2019-05-16 11
Wednesday 2019-05-01    Friday 2019-05-17 12
Wednesday 2019-05-01  Saturday 2019-05-18 12
&lt;/PRE&gt;
&lt;P&gt;Note that weekends are lumped with Fridays in the counting of weekdays.&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2019 03:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/INTCK-Weekday/m-p/559932#M10404</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-05-19T03:06:43Z</dc:date>
    </item>
  </channel>
</rss>

