This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Question Date Variable

Question Date Variables are used to collect date information from a questionnaire, e.g.

Please enter today's date

_________________________________

There is a wide range of valid date formats as shown on the following page.

The fields for a Question Date Variable generally follow the same rules as described earlier in this section, with the exception of the following:

Length

The length is pre-set to 20 characters when created in the Questionnaire window. This provides sufficient space to record a date in any format, including the month and year recorded in full.

Number of Codes

Only one valid code, OK

Valid label and value

Only one code is created for a Quantity Date variable. 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 in which case any date that is accepted as valid, can be entered. Snap will check the format of any date to ensure that it meets the criteria as described on the next page.

If only a certain range of dates is valid, this can be specified in the Values field of the OK code. Snap will check the dates 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.

See Also

Question Multiple Variable

Question Single Variable

Question Literal Variable

Question Quantity Variable

Question Time Variable