<?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: Date Calculation in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209736#M2890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely what you are looking for is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total_days = sum(last_day - first_day, hold_resume - hold_start);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the bigger battle is how to handle the unusual conditions in the data.&amp;nbsp; This is not a programming problem, but a matter of making decisions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if last_day is earlier than first_day (as in the fourth line of data)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if hold_resume is present, but hold_start is absent?&amp;nbsp; Should hold_resume default to the current date or to last_day, or to nothing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is hold_resume is present, but hold_start is absent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have made decisions to cover all the possibilities, the programming will be straightforward.&amp;nbsp; But if not, it's anybody's guess as to what the outcome should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 01:49:35 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2015-05-06T01:49:35Z</dc:date>
    <item>
      <title>Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209728#M2882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have following four date. Can anyone tell me what should be the code to calculate Total_Day=(Last_Day-Start_Day) - (Hold_Resume-Hold_Start)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start_Day&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hold_start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hold_Resume&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Last_Day&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;J&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;an-01-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Jan-05-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Jan-10-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Jan-12-2014&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Feb-01-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb&lt;SPAN style="font-size: 13.3333330154419px;"&gt;-12-2014&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Mar-01-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;-10-2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar&lt;SPAN style="font-size: 13.3333330154419px;"&gt;-12-2014&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote the following code, but it's not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data out;&lt;/P&gt;&lt;P&gt;set Have;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Total_Day&lt;/SPAN&gt; = (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Last_Day&lt;/SPAN&gt; -&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Start_Day&lt;/SPAN&gt;)-(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hold_Resume&lt;/SPAN&gt;-&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Hold_start&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209728#M2882</guid>
      <dc:creator>mlogan</dc:creator>
      <dc:date>2015-05-05T19:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209729#M2883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Describe what you mean by "not working". Do you get an error? Unexpected values?&lt;/P&gt;&lt;P&gt;The approach you chose should work if the date variables are SAS date valued variables.&lt;/P&gt;&lt;P&gt;You will get a missing value for any record that has one or more missing values for any of the variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209729#M2883</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-05T19:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209730#M2884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ballardw,&lt;/P&gt;&lt;P&gt;It works only where all observations exist. In my case, calculation from first observation returns 11 days, but second observation returns nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:37:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209730#M2884</guid>
      <dc:creator>mlogan</dc:creator>
      <dc:date>2015-05-05T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209731#M2885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the second observation returns nothing because null - anything is null.&amp;nbsp; You can use coalesce function to replace null with something else. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set dates;&lt;/P&gt;&lt;P&gt;total_days = (coalesce(last_day,0)-coalesce(start_day,0))-(coalesce(hold_resume,0)-coalesce(hold_start,0));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when using dates this may not always be helpful.&amp;nbsp; You might want to replace one date with the date you are subtracting it from, depends on the input/output you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209731#M2885</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-05-05T19:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209732#M2886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="808263" data-username="Steelers_In_DC" href="https://communities.sas.com/people/Steelers_In_DC" id="jive-80826346235327353166186" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #0e66ba; text-decoration: underline;"&gt;Mark Johnson,&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks for the code, it's helpful. But it doesn't work when the Hold_Start date is mising. Can you please tell me how do I ignore the second part of the calculation where Hols_Start is missing. See my example on the top.&lt;/SPAN&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>Tue, 05 May 2015 19:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209732#M2886</guid>
      <dc:creator>mlogan</dc:creator>
      <dc:date>2015-05-05T19:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209733#M2887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working, you have to substitute the zero for whatever you want to replace a null value with.&amp;nbsp; The date 0 in sas is 01JAN1960, which I assume is not what you want.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209733#M2887</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-05-05T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209734#M2888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;coalesce will replace the date with anything you want when it is missing, what do you want to replace it with?&amp;nbsp; If an easy coalesce won't fix it you will have to set up if then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set dates;&lt;/P&gt;&lt;P&gt;if not missing(Start_Day,Hold_start,Hold_Resume,Last_Day) then do;&lt;/P&gt;&lt;P&gt;total_days = (last_day-start_day)-(hold_resume-hold_start);&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;if not missing(Start_Day,Hold_start,Hold_Resume) then do;&lt;/P&gt;&lt;P&gt;/*whatever calculation you want etc*/&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 21:29:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209734#M2888</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2015-05-05T21:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209735#M2889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on how you deal with missing value. If there is missing value, you either don't calculate or omit it by this way,&lt;/P&gt;&lt;P&gt;total_day=sum(last_day,-start_day,-hold_resume,hold_start); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 23:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209735#M2889</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2015-05-05T23:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209736#M2890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely what you are looking for is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total_days = sum(last_day - first_day, hold_resume - hold_start);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the bigger battle is how to handle the unusual conditions in the data.&amp;nbsp; This is not a programming problem, but a matter of making decisions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if last_day is earlier than first_day (as in the fourth line of data)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if hold_resume is present, but hold_start is absent?&amp;nbsp; Should hold_resume default to the current date or to last_day, or to nothing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is hold_resume is present, but hold_start is absent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have made decisions to cover all the possibilities, the programming will be straightforward.&amp;nbsp; But if not, it's anybody's guess as to what the outcome should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 01:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209736#M2890</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-05-06T01:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209737#M2891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Astounding,&lt;/P&gt;&lt;P&gt;Look like you are almost there. I don't want a sum, instead I want a subtraction&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;You wrote:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;total_days = sum(last_day - first_day, hold_resume - hold_start);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;I want:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Last_Day&lt;/SPAN&gt; -&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Start_Day&lt;/SPAN&gt;)-(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Hold_Resume&lt;/SPAN&gt;-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Hold_start&lt;/SPAN&gt;);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Do you know if there is a way to ignore the null value when date (eg. Hold_Start or Hold_resume) does not exist?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209737#M2891</guid>
      <dc:creator>mlogan</dc:creator>
      <dc:date>2015-05-06T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209738#M2892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you would want this version then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total_days = sum(last_day - first_day, hold_start - hold_resume);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Date-Calculation/m-p/209738#M2892</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-05-06T14:11:43Z</dc:date>
    </item>
  </channel>
</rss>

