Date: Tue, 11 Mar 2008 16:17:21 -0400
Reply-To: Bob_Abelson@HGSI.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bob_Abelson@HGSI.COM
Subject: Re: age at diagnosis
In-Reply-To: <200803112004.m2BGO16o026761@malibu.cc.uga.edu>
Content-Type: text/plain; charset=us-ascii
Annie,
Check this out:
http://support.sas.com/kb/24/808.html
Bob Abelson
HGSI
240 314 4400 x1374
bob_abelson@hgsi.com
"Annie Lee" <hummingbird10111@HOTMAIL.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
03/11/2008 04:14 PM
Please respond to
"Annie Lee" <hummingbird10111@HOTMAIL.COM>
To
SAS-L@LISTSERV.UGA.EDU
cc
Subject
age at diagnosis
what is the best way to calculate the age at diagnosis?
(dob & dx_date are both text variables) Thank you!
data:
dob dx_date
19341225 20071119
19201216 20071224
19531112 20071122
results:
Age_dx dob dx_date
73 25Dec34 19Nov07
87 16Dec20 24Dec07
54 12Nov53 22Nov07