If you are using our Date/Time predefined content field to collect date and time information from your respondents, you might be want to know how that field will be validated.
The overview and example sections below provide a quick overview of what date/time formats are accepted.
Date/Time Validation Overview
When using our Date/Time predefined content field, the following values will be considered valid. Please note that this validation is case insensitive if letters (e.g. AM, PM) are being submitted.
- Date followed by 12 hour time
- Date followed by 24 hour time
- 12 hour time followed by date
- 24 hour time followed by date
- Just date
- Just 12 hour time
- Just 24 hour time
Examples of Valid Dates & Times
Please see the sections below for a detailed explanation on how these valid examples are determined by the regex validation rule.
The following examples are valid 12 hour times:
- 1 00pm
- 12 59p
The following examples are valid 24 hour times:
- 13 00
The following examples are valid dates:
- January 2nd 2017
- Jan 2nd 2017
- January 2
- 2 January