Date: Wed, 3 Aug 2005 13:23:02 -1000
Reply-To: Bob Schacht <schacht@hawaii.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bob Schacht <schacht@hawaii.edu>
Subject: Date calculations
In-Reply-To: <S262230AbVHCW3t/20050803222953Z+115554@avas-mr09.fibertel.com.ar>
Content-type: text/plain; charset=us-ascii; format=flowed
I have two variables in DATE format: DOB (Date of Birth), APP_DATE (Date of
Application.)
I want to calculate AgeAtApp (in years) from these two dates, but simply
subtracting DOB from APP_DATE doesn't work. The syntax manual seems
unhelpful in this regard. Seems like this ought to be an easy thing to do.
How do I calculate Age in this circumstance?
Thanks,
Bob
Robert M. Schacht, Ph.D. <schacht@hawaii.edu>
Pacific Basin Rehabilitation Research & Training Center
1268 Young Street, Suite #204
Research Center, University of Hawaii
Honolulu, HI 96814
|