Actions

Translations

Translations:Question type - Date/27/en

From LimeSurvey Manual

Revision as of 16:55, 19 May 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Limesurvey (versions 2.05+ and above) makes it fairly easy to validate dates using the date_min and date_max fields (see above). Use these whenever possible. If you need to do more advanced validation, you may be able to work (and calculate) with dates using the ExpressionScript and the function strtotime(). It calculates the number of seconds from the 1st January 1970 to a given date.