<?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: Difference between Two date in years in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319267#M61875</link>
    <description>thanks for your help guys</description>
    <pubDate>Thu, 15 Dec 2016 14:29:56 GMT</pubDate>
    <dc:creator>sasphd</dc:creator>
    <dc:date>2016-12-15T14:29:56Z</dc:date>
    <item>
      <title>Difference between Two date in years</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319258#M61871</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I make the difference between two dates using this program.&lt;/P&gt;
&lt;P&gt;data age;&lt;BR /&gt; set JOINT_FO;&lt;BR /&gt; age=caldt-FIRST_OFFER_DT;&lt;BR /&gt; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The program give me the difference in days but I want it in year or in fraction of year????&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319258#M61871</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2016-12-15T14:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Two date in years</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319259#M61872</link>
      <description>&lt;P&gt;Look at the extremely flexible &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p1md4mx2crzfaqn14va8kt7qvfhr.htm" target="_blank"&gt;INTCK&lt;/A&gt; function.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319259#M61872</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-12-15T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Two date in years</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319261#M61873</link>
      <description>&lt;P&gt;For the simplest calculation, just consider that a year has 365.24237 days (Gregorian calendar). So divide your difference in days by that.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319261#M61873</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-12-15T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Two date in years</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319263#M61874</link>
      <description>&lt;P&gt;Many ways to do this, I've used &lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p1md4mx2crzfaqn14va8kt7qvfhr.htm" target="_self"&gt;intck&lt;/A&gt; and &lt;A href="https://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p1pmmr2dtec32an1vbsqmm3abil5.htm" target="_self"&gt;yrdif&lt;/A&gt; in the past!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Age = yrdif(FirstDate, SecondDate,&lt;SPAN&gt;'AGE'&lt;/SPAN&gt;);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319263#M61874</guid>
      <dc:creator>TheShark</dc:creator>
      <dc:date>2016-12-15T14:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Two date in years</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319267#M61875</link>
      <description>thanks for your help guys</description>
      <pubDate>Thu, 15 Dec 2016 14:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Difference-between-Two-date-in-years/m-p/319267#M61875</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2016-12-15T14:29:56Z</dc:date>
    </item>
  </channel>
</rss>

