Hi!

I have a data set with date-of-births formatted as 19881031-3456, that is 31 Oct 1988 with a 4-digit personal code (a standard swedish personal number). SPSS reads this a a categorical variable. I want to extract the 198810031 part to a new variable as a DOB that SPSS can make use of.

I also have a date-of-diagnosis formatted as a numerical 150330, that is 30th March 2015.

How do I convert these different date inputs to a usable date format in SPSS v24?

More Rasmus Walter Green's questions See All
Similar questions and discussions