<?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 vs. Yrdif in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/849312#M335792</link>
    <description>&lt;P&gt;I found your thread from google and I believe it is the only INTCK vs. YRDIF thread and I am having the same issue while reading the base exam prep guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INTCK counts +1 every time it encounters 1 Jan.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YRDIF counts +1 for every 365 (or 360 or 366 days depending on the optional third argument you use, I don't know how the 30/360 work tho)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 04:36:35 GMT</pubDate>
    <dc:creator>Nietzsche</dc:creator>
    <dc:date>2022-12-13T04:36:35Z</dc:date>
    <item>
      <title>Intck vs. Yrdif</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/11871#M1199</link>
      <description>Can you tell me why the Intck function and the Yrdif function will produce two different values when the input dates are the same?  I am trying to calculate time at age of entry for patients, and if I use the Intck funciton I am getting some differences than when I use the Yrdif function.  Thanks!</description>
      <pubDate>Tue, 05 Oct 2010 16:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/11871#M1199</guid>
      <dc:creator>StephG</dc:creator>
      <dc:date>2010-10-05T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Intck vs. Yrdif</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/11872#M1200</link>
      <description>age is an interestingly challenging assumption&lt;BR /&gt;
(who knows how many ways there are to calculate age?  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
 -- what would you like ?&lt;BR /&gt;
- remember years have differing numbers of days&lt;BR /&gt;
- decide when those born on a 29th Feb should celebrate their 18th and 21st birthdays&lt;BR /&gt;
&lt;BR /&gt;
age nearest?&lt;BR /&gt;
age next birthday?&lt;BR /&gt;
number of days old is probably the only reliable calculation&lt;BR /&gt;
 &lt;BR /&gt;
so again, how would you like to calculate age - what are your rules?&lt;BR /&gt;
 &lt;BR /&gt;
peterC&lt;BR /&gt;
 &lt;BR /&gt;
P.S. &lt;BR /&gt;
yrdif() is deprecated for age calculations, see SAS USAGE NOTE:&lt;BR /&gt;
36977 - Using the YRDIF function to calculate age can give incorrect results&lt;BR /&gt;
at &lt;A href="http://support.sas.com/kb/36/977.html" target="_blank"&gt;http://support.sas.com/kb/36/977.html&lt;/A&gt;</description>
      <pubDate>Tue, 05 Oct 2010 16:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/11872#M1200</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-10-05T16:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Intck vs. Yrdif</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/849312#M335792</link>
      <description>&lt;P&gt;I found your thread from google and I believe it is the only INTCK vs. YRDIF thread and I am having the same issue while reading the base exam prep guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INTCK counts +1 every time it encounters 1 Jan.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YRDIF counts +1 for every 365 (or 360 or 366 days depending on the optional third argument you use, I don't know how the 30/360 work tho)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 04:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intck-vs-Yrdif/m-p/849312#M335792</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-12-13T04:36:35Z</dc:date>
    </item>
  </channel>
</rss>

