<?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: calculating age in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/calculating-age-in-SAS/m-p/372577#M89103</link>
    <description>&lt;P&gt;Hi, using the attached XLS file ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x 'z:\text.xls';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data want;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;set x.'sheet1$'n;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;age = yrdif(bob,today(),'age');&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x clear;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DATA SET: want&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bob &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; age&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;singh &amp;nbsp; &amp;nbsp; 01JAN1980 &amp;nbsp; &amp;nbsp; 37.4986&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;anitha &amp;nbsp; &amp;nbsp;06MAR1991 &amp;nbsp; &amp;nbsp; 26.3233&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jul 2017 16:34:27 GMT</pubDate>
    <dc:creator>MikeZdeb</dc:creator>
    <dc:date>2017-07-02T16:34:27Z</dc:date>
    <item>
      <title>calculating age in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-age-in-SAS/m-p/372569#M89101</link>
      <description>&lt;P&gt;how to calulate age in SAS of particluar person the data is in excel&lt;/P&gt;&lt;P&gt;which is something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;name &amp;nbsp;bob&lt;/P&gt;&lt;P&gt;singh &amp;nbsp;1-jan-1980&lt;/P&gt;&lt;P&gt;anitha 6-mar-1991&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 16:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-age-in-SAS/m-p/372569#M89101</guid>
      <dc:creator>hmc</dc:creator>
      <dc:date>2017-07-02T16:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: calculating age in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-age-in-SAS/m-p/372577#M89103</link>
      <description>&lt;P&gt;Hi, using the attached XLS file ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x 'z:\text.xls';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data want;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;set x.'sheet1$'n;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;age = yrdif(bob,today(),'age');&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname x clear;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DATA SET: want&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bob &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; age&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;singh &amp;nbsp; &amp;nbsp; 01JAN1980 &amp;nbsp; &amp;nbsp; 37.4986&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;anitha &amp;nbsp; &amp;nbsp;06MAR1991 &amp;nbsp; &amp;nbsp; 26.3233&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 16:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-age-in-SAS/m-p/372577#M89103</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2017-07-02T16:34:27Z</dc:date>
    </item>
  </channel>
</rss>

