Hi, I am hoping someone may be able to confirm this across SPSS and versions.
We have a data set of 10.5m records unique customers. We need to seperate them into the various age groups our marketing team need based on their age at a certain date. We have a report that comes out of SPSS for them.
Historically this has been determined based on DATEDIFF(RENEWALDATE, BIRTHDATE, "years"). In looking at this function, it seems to truncate so everyone gets the same year, irrespective of birthdate i.e. Someone will get the same age being born on the 1st of Jan, as the person born on the 31st Dec.
Thankfully this has meant that some customers get notified a few months earlier than would be usual through the year as they are allocated a higher age group than they should be in, but as we are going for a re-development I need to confirm that SPSS version of this functions behaviour and my assumptions about it are correct, that it only uses the YEAR part of the dates.
I am secretly hoping that it returns the ACTUAL AGE of the customer.
Cheers
JB
------------------------------
James Bollum Likely lad
------------------------------
#SPSSStatistics