<?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: Number of hours worked not weekends in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351592#M81839</link>
    <description>&lt;P&gt;Hey thanks for this i think that would help when i get to the bank holiday stage, What about hours this is where i am struggling with at the moment?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 10:04:00 GMT</pubDate>
    <dc:creator>SimonJ</dc:creator>
    <dc:date>2017-04-20T10:04:00Z</dc:date>
    <item>
      <title>Number of hours worked not weekends</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351589#M81837</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working in enyterprise guide 9.1 i am trying to identify how i can calulate the time between to given dates not including weekends and going forward bank holidays.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I lknow i can use the INTCK function this works great for the number of hours elapsed but does not consider weekends, i know there is a weekday element but this does not work its like i need workhours can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 09:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351589#M81837</guid>
      <dc:creator>SimonJ</dc:creator>
      <dc:date>2017-04-20T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Number of hours worked not weekends</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351590#M81838</link>
      <description>&lt;P&gt;check this out&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2011/05/09/calculating-the-number-of-working-days-between-two-dates/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2011/05/09/calculating-the-number-of-working-days-between-two-dates/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 09:51:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351590#M81838</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-04-20T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number of hours worked not weekends</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351592#M81839</link>
      <description>&lt;P&gt;Hey thanks for this i think that would help when i get to the bank holiday stage, What about hours this is where i am struggling with at the moment?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351592#M81839</guid>
      <dc:creator>SimonJ</dc:creator>
      <dc:date>2017-04-20T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Number of hours worked not weekends</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351599#M81842</link>
      <description>&lt;P&gt;It's essentially the same as the blog post, but INTCK can take an hour parameter and you should have datetime variables not date variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351599#M81842</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-20T10:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Number of hours worked not weekends</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351600#M81843</link>
      <description>&lt;P&gt;Post sample data and expected output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Number-of-hours-worked-not-weekends/m-p/351600#M81843</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-20T10:43:39Z</dc:date>
    </item>
  </channel>
</rss>

