<?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: count  exactly no of days between two days in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784842#M250453</link>
    <description>&lt;P&gt;Apart from the obvious syntax error in the FORMAT statement, this code will only create missing values.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;STRONG&gt;STRONGLY&lt;/STRONG&gt; suggest you run your code in your SAS environment and see what it does (Maxim 4).&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 20:14:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-12-08T20:14:27Z</dc:date>
    <item>
      <title>count  exactly no of days between two days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784835#M250449</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;suppose a person visit respective dates&amp;nbsp;I want to count no of days between two dates&lt;/P&gt;
&lt;P&gt;&amp;nbsp;required answer is 2 days as per below dates&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data count;
st_date ='01JAN2021'd;
end_date='02JAN2021'd;
fromat st_date end_date date9.;
count_total=intck('day',st_date,end_date);
put count_total= ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Dec 2021 07:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784835#M250449</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-12-08T07:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: count  exactly no of days between two days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784837#M250450</link>
      <description>&lt;P&gt;If you need to include both the start and end day, add 1 to the result.&lt;/P&gt;
&lt;P&gt;INTCK counts the number of interval boundaries &lt;EM&gt;between&lt;/EM&gt; the values.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 07:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784837#M250450</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-08T07:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: count  exactly no of days between two days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784838#M250451</link>
      <description>&lt;P&gt;suppose three days then&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data count;
1st_date ='01JAN2021'd;
2nd__date='02JAN2021'd;
3rd_date='05APR2021'd;
fromat 1st_date 2nd_date 3rd_date date9.;
count_total=intck('day',st_date,end_date)+1;
put count_total= ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Dec 2021 07:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784838#M250451</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-12-08T07:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: count  exactly no of days between two days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784842#M250453</link>
      <description>&lt;P&gt;Apart from the obvious syntax error in the FORMAT statement, this code will only create missing values.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;STRONG&gt;STRONGLY&lt;/STRONG&gt; suggest you run your code in your SAS environment and see what it does (Maxim 4).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 20:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/count-exactly-no-of-days-between-two-days/m-p/784842#M250453</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-08T20:14:27Z</dc:date>
    </item>
  </channel>
</rss>

