This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
You can also categorise time responses using time functions. This example uses the hour function in a Derived variable to group responses to Q1b, "What time did you arrive?" into suitable ranges for analysis.
Name: Arrivalhour
Label: Hour of arrival
Type: Derived (the variable will derive its data from other existing variables).
Response: Single (each respondent will fall into only one of the new codes, as there is only one time of arrival per case).

Code |
Code Label |
Value |
1 |
11am |
Q1b hour=11 |
2 |
12pm |
Q1b hour=12 |
3 |
1pm |
Q1b hour=13 |
4 |
2pm |
Q1b hour=14 |
5 |
3pm |
Q1b hour=15 |
|
See Also |