This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Question Time Variables are used when the information entered on to the questionnaire is of a time format, usually used for such questions as: What time did you arrive? Snap recognises a variety of time formats, as the following examples show: 23:59:59 or 23:59 or 2300 hours or 23 hours or 11:59:59 pm or 11:59 pm or 11 o'clock. There is more information on the format of time variables over the page. Question Time Variables are used to capture time data without classification. A single code will be created containing all valid responses. Other variable types, such as derived quantity and derived single variables, can be used to perform calculations on any question time variable. |
|
The fields for a Question Time Variable apply the following rules:
Length |
A number between 1 and 15 to represent the length of the field being captured. The default value is set to 15. The source field is automatically updated after moving out of the length field. |
||||||||||||||||||||||
Number of Codes |
Only one valid code: OK |
||||||||||||||||||||||
Valid label and value |
The valid label is pre-set to Valid, although this can be changed by accessing Tailor | Analysis and selecting [Labels]. The value can be left blank so that any figure which follows the time format may be entered: Snap will check the format of any time to ensure that it meets the criteria as described in the examples below. If only a certain range of times is valid (such as between 12.30pm and 1.30pm), this can be set up in the Values field of the OK code. Snap will check the times as they are entered in the Data window to ensure that each one is of a valid format and each one is within the range specified. |
||||||||||||||||||||||
You can perform time calculations on Time Variables. Times are converted to seconds, and results are given in seconds. To get a more useful block of time (such as number of hours) divide the answer given by 60 to calculate the number of minutes and then by 60 again (if the number is greater than 60) in order to discover the hours. Whenever you end up with numbers after a decimal point, for example 12.25 hours, remember that the .25 is not 25 minutes but a quarter of an hour: in other words 15 minutes. The table on the right shows how many seconds there are in a number of time slots such as one minute, one hour, a 12 hour period and one day (twenty four hour period). |
|
|
|||||||||||||||||||||
For more information on using the Question Time Variable in Analysis, look in manual 4, “Analysis of Results”.
|
See Also |