<?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: PROC SQL: Calculate date difference but working days only in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663367#M198004</link>
    <description>&lt;P&gt;Solved, just use intck&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 03:32:11 GMT</pubDate>
    <dc:creator>ywon111</dc:creator>
    <dc:date>2020-06-19T03:32:11Z</dc:date>
    <item>
      <title>PROC SQL: Calculate date difference but working days only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663360#M198000</link>
      <description>&lt;P&gt;This gives me number of days for datediff, but trying to get working days only:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE a AS&lt;BR /&gt;SELECT&lt;BR /&gt;t1.industry,&lt;BR /&gt;"&amp;amp;extdate"d+1 - t1.event_from_date as datediff&lt;BR /&gt;FROM sss t1&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 02:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663360#M198000</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-06-19T02:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Calculate date difference but working days only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663364#M198001</link>
      <description>&lt;P&gt;Different countries have different holidays.&lt;/P&gt;
&lt;P&gt;How do you identify a working day?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663364#M198001</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-06-19T03:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Calculate date difference but working days only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663365#M198002</link>
      <description>Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;Just want to get week days for now.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663365#M198002</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-06-19T03:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Calculate date difference but working days only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663366#M198003</link>
      <description>&lt;P&gt;intck("weekday", t1.event_from_date, "&amp;amp;extdate"d) as dateDiff,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663366#M198003</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-06-19T03:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SQL: Calculate date difference but working days only</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663367#M198004</link>
      <description>&lt;P&gt;Solved, just use intck&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SQL-Calculate-date-difference-but-working-days-only/m-p/663367#M198004</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-06-19T03:32:11Z</dc:date>
    </item>
  </channel>
</rss>

