This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Date questions and variables can be used to record any date between 6 million years BC and 6 million years AD using the Gregorian calendar. They correctly allow for the inclusion of leap years and for the specification of four-digit years as two-digit numbers (e.g. 2003 can be expressed as 03). Dates can be analysed in a number of ways as follows:
Dates can be grouped into specified ranges:
The following examples use the Crocodile Restaurant Survey:
In the first example, a Derived Single Response variable is used to group Q1a, "When did you visit the restaurant?" into suitable ranges for analysis on a table or chart.
In the second example, the use of date functions is explored, and a Derived Single Response variable is defined to determine on which day of the week that the date given as a response to Q1a falls.
In the third example, it is assumed that the questionnaire contains a date of birth question, Q9a. A Derived Quantity variable is set up to calculate the respondent's age by evaluating the difference between the date of birth question and the date function of today. That variable might then itself be categorised or used in the production of some descriptive statistics.
|
In this section |
|