LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2011)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 11 Oct 2011 10:25:20 -0700
Reply-To:     David Marso <david.marso@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         David Marso <david.marso@gmail.com>
Subject:      Re: Calculate age by using birthdate and a specific date?
In-Reply-To:  <1318329139.86432.YahooMailNeo@web112714.mail.gq1.yahoo.com>
Content-Type: text/plain; charset=UTF-8

For starters, how about posting your non working syntax and any error messages etc. BTW YYYYMMDD is *NOT* a date format. You'll need to parse it into a proper date.

lynn wrote: > > Hi everyone, > I'm new to learning syntax and am having trouble > calculating age in years (AGE) by using birthdate (BDATE) and a specific > date > (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. > lynn >

-- 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 SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page