<?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 convert birthdate to age in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20828#M4335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If bth_dt is a SAS DATETIME value and not a SAS DATE value then you should use "DTYEAR" as the time unit in intck and DATETIME() instead of DATE().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2012 19:56:48 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2012-03-02T19:56:48Z</dc:date>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20822#M4329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying in SAS to convert my column name BTH_DT to an age and used this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bth_dt = int(datediff("m",[bth_dt],date())/12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is contained in my proc sql statement which is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql; &lt;/P&gt;&lt;P&gt;(select distinct&lt;/P&gt;&lt;P&gt;memberid,&lt;/P&gt;&lt;P&gt;fst_srvc_dt,&lt;/P&gt;&lt;P&gt;bth_dt = int(datediff("m",[bth_dt],date())/12),&lt;/P&gt;&lt;P&gt;member_gender_cd&lt;/P&gt;&lt;P&gt;from inpatient&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rest of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the entire code works great if I take out the converting to age. It will give me all columns and the bth_dt column. but when i add this code in I get an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something expected between bth_dt and = just not sure how to code this quite right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20822#M4329</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T19:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20823#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql; &lt;/P&gt;&lt;P&gt;select distinct&lt;/P&gt;&lt;P&gt;memberid,&lt;/P&gt;&lt;P&gt;fst_srvc_dt,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;int(datediff("m",[bth_dt],date())/12) as bth_dt,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;intck("YEAR", bth_dt, date(),"CONTINUOUS") as memberAge,&lt;/P&gt;&lt;P&gt;member_gender_cd&lt;/P&gt;&lt;P&gt;from inpatient;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATED with information from PGSTATS below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20823#M4330</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2012-03-02T19:32:33Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20824#M4331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This topic definitely belongs to FAQ, it could have so many different answers.You can find one of recent discussions from SAS-L @:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://listserv.uga.edu/cgi-bin/wa?A2=ind1201B&amp;amp;L=sas-l&amp;amp;P=R13704#TOP"&gt;http://listserv.uga.edu/cgi-bin/wa?A2=ind1201B&amp;amp;L=sas-l&amp;amp;P=R13704#TOP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:36:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20824#M4331</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-03-02T19:36:07Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20825#M4332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It seems the dateDiff has been replaced with intck. You would need&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; intck("YEAR", bth_dt, date(),"CONTINUOUS") as memberAge in your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20825#M4332</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-02T19:38:56Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20826#M4333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I get the error from intick as:&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; data type "year" does not match a defined type name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20826#M4333</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T19:44:12Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20827#M4334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; sorry I did put in intck not intick but still the same error applies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20827#M4334</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T19:46:06Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20828#M4335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If bth_dt is a SAS DATETIME value and not a SAS DATE value then you should use "DTYEAR" as the time unit in intck and DATETIME() instead of DATE().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20828#M4335</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-02T19:56:48Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20829#M4336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; BTH_DT is not a SAS date or SAS Datetime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the birthdate of the member in the DB2 table. I am connecting to our DB2 server using an ODBC. The BTH_DT is a predefined column in our members table that we have insurance coverage. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20829#M4336</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T20:07:58Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20830#M4337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally, dates are translated properly between other DBMS and SAS. When you receive a date in SAS, it is a proper SAS DATE or a proper SAS DATETIME. This is my experience but&amp;nbsp; I don't know about DB2. - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20830#M4337</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-02T20:14:41Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20831#M4338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; ok. Well I did try it and still getting errors. I will see if my boss knows the answer or maybe someone on our SAS team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20831#M4338</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T20:18:21Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20832#M4339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Just hate going those routes cuz our SAS team takes weeks to respond to anything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20832#M4339</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T20:19:05Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20833#M4340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Well, give us your last try and the log, maybe only a small error left. - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20833#M4340</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-02T20:21:20Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20834#M4341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;intck("dtyear", bth_dt, datetime(), "CONTINUOUS") as memberage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error log says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax error: data type "DTYEAR" does not match a defined type name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20834#M4341</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T20:29:06Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20835#M4342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange, "DTYEAR" is an interval name, not a "defined type name". The error might have occured elsewhere in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, Time Interval functions are a bit new to SAS (I'm using version 9.3). So, you might try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;intck("YEAR", datepart(bth_dt), DATE(), "C")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dateDiff("y",datepart(bth_dt), DATE())&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* If there really is a function called dateDiff in SAS */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else, go for the close approximation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int((datepart(bth_dt) - date())/365.25)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 21:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20835#M4342</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-02T21:10:28Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20836#M4343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am on 9.2 SAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 23:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20836#M4343</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T23:00:23Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20837#M4344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Man this is still not working. It is driving me nuts. I might just have to keep the bth_dt part in the table and maybe try and figure out a way to convert in a separate query or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 23:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20837#M4344</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-02T23:09:39Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20838#M4345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just do a proc sql and select bth_dt for about 10 records and post the resulting file here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 23:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20838#M4345</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-02T23:36:38Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20839#M4346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with Art that it would be helpful to actually know how the values are stored on the DB side and how they come through to SAS (data type in DB, data type in SAS -&amp;nbsp; and if it's a string then how the string looks like).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error you get looks to me like thrown by the database and not by SAS (at least I couldn't find a SAS error message like this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was Googling your error message: &lt;STRONG&gt;data type does not match a defined type name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Interestingly I've got hits for Teradata &lt;A href="http://datawarehouse.ittoolbox.com/groups/technical-functional/teradata-l/failure-3706-syntax-error-data-type-xyz-does-not-match-a-defin-ed-type-name-2675934"&gt;http://datawarehouse.ittoolbox.com/groups/technical-functional/teradata-l/failure-3706-syntax-error-data-type-xyz-does-not-match-a-defin-ed-type-name-2675934&lt;/A&gt; but not for DB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also couldn't find a DB2 SQL error code/message like the one you've got when searching here: &lt;A href="http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.db2z10.doc.codes%2Fsrc%2Ftpc%2Fdb2z_n.htm"&gt;http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.db2z10.doc.codes%2Fsrc%2Ftpc%2Fdb2z_n.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure your source table is in DB2 and not in Teradata?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please re-run your code after below options (once just selecting the column as Art asks for, once with the intck() function) and then post the log part which shows what SQL has been sent to the database?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OPTIONS &lt;EM&gt;sastrace&lt;/EM&gt;=',,,d' sastraceloc=saslog nostsuffix;.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also: How are you running your code? Is it eventually using SAS table metadata definitions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 01:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20839#M4346</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-03-03T01:43:09Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20840#M4347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This is a teradata database and when I am coding the date lookup in my %let statement I cannot do it as '7/20/2011' I have to code it as %let startdt=31072011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTH_DT&lt;/P&gt;&lt;P&gt;2/27/1933&lt;/P&gt;&lt;P&gt;4/28/1943&lt;/P&gt;&lt;P&gt;1/14/1936&lt;/P&gt;&lt;P&gt;12/23/1949&lt;/P&gt;&lt;P&gt;5/29/1940&lt;/P&gt;&lt;P&gt;9/30/1946&lt;/P&gt;&lt;P&gt;12/12/1959&lt;/P&gt;&lt;P&gt;1/19/1959&lt;/P&gt;&lt;P&gt;3/3/1944&lt;/P&gt;&lt;P&gt;8/20/1944&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 16:37:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20840#M4347</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-05T16:37:14Z</dc:date>
    </item>
    <item>
      <title>convert birthdate to age</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20841#M4348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I presume the bth_dt list you showed was the result of a proc sql run just selecting the first 10 records.&amp;nbsp; One more bit of info needed then.&amp;nbsp; Do the same thing but with a create table statement in the run and then let us know the variable time that results in the created table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 17:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/convert-birthdate-to-age/m-p/20841#M4348</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-05T17:06:41Z</dc:date>
    </item>
  </channel>
</rss>

