|Date: ||Wed, 19 Feb 1997 12:57:54 +1000|
|Reply-To: ||Michael McStephen <PSYMDM@LURE.LATROBE.EDU.AU>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>|
|From: ||Michael McStephen <PSYMDM@LURE.LATROBE.EDU.AU>|
|Subject: ||using $date in spss 6.1.4 for Win|
|Content-type: ||TEXT/PLAIN; CHARSET=US-ASCII|
I'm trying to use the system date variable $date to compute current
ages of subjects. The version of SPSS I'm using is 6.1.4 for Windows.
The syntax I'm trying to use is:
compute age = $date - dob.
where dob is a variable with the format dd-mmm-yyyy.
This is not working and I get the message that one of my operands is
not numeric. I understood that $date had the format dd-mmm-yyyy by
The above syntax works fine using another dd-mmm-yyyy variable instead