SPSS tutorials


Date Variables

SPSS Date Calculation Example

In SPSS, a date is the number of seconds since the year 1582. These are huge numbers but they are still just numbers like somebody’s weight in kilos or the number of cars in some household. The main difference between dates and other variables is that SPSS displays dates with slashes or dots as in “2016/11/07”.
Once you fully realize this, you'll also realize that SPSS date calculations are just as simple as any other calculations. The main challenge, converting normal dates into numbers of seconds, is taken care of by simple date functions such as DATEDIFF (number of time units such as days between dates) or DATESUM (add time units such as years to some date).
Study the first two tutorials below and you'll work with SPSS date variables fast, precisely and confidently. Enjoy!

SPSS Date Calculations

SPSS Date Variables Basics Read

SPSS Date Variables Tutorial Read

SPSS Date Conversions

Convert Numeric to Date Variable Read

Extract a Year from a Date Read


SPSS – Convert String into Date Variable Read

Convert String Date to SPSS Date Variable Read

Let me know what you think!

*Required field. Your comment will show up after approval from a moderator.

This tutorial has 3 comments