Date: Tue, 11 Oct 2011 10:25:20 -0700
Reply-To: David Marso <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: David Marso <firstname.lastname@example.org>
Subject: Re: Calculate age by using birthdate and a specific date?
Content-Type: text/plain; charset=UTF-8
For starters, how about posting your non working syntax and any error
BTW YYYYMMDD is *NOT* a date format. You'll need to parse it into a proper
> Hi everyone,
> I'm new to learning syntax and am having trouble
> calculating age in years (AGE) by using birthdate (BDATE) and a specific
> (SDATE) which is May 15, 2010. The birthdate format is: YYYYMMDD. The
> resulting age would preferably be a precise number although an
> approximation is
> ok too.
> I checked the archives and tried to adapt some
> of the examples which use "Compute" with the Date Extraction function
> but havenâ€™t been able to make a workable syntax.Â Could someone pls.Â help?
> Many thanks.
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Calculate-age-by-using-birthdate-and-a-specific-date-tp4892040p4892532.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command