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 Google Analytics Dates into SPSS Dates Read

Convert Numeric to Date Variable Read

Convert Unix Dates into SPSS Dates Read

Extract a Year from a Date Read


Convert String to Date Variable Read

How to Compute Age in SPSS? Read

Convert String Date to SPSS Date Variable Read