Date / Time Question Types
Date and time question types ask the participant to select a date, a time, or both using a picker interface. They are appropriate when you need a precise value rather than a free-text answer.
Presents a date picker. The participant selects a day, month, and year.
Options
Section titled “Options”| Option | Description |
|---|---|
| Required | When enabled, the participant must select a date before proceeding. |
The date picker format follows the participant’s locale settings. The selected value is stored in a standardised date format regardless of how it is displayed.
Presents a time picker. The participant selects an hour and minute.
Options
Section titled “Options”| Option | Description |
|---|---|
| Required | When enabled, the participant must select a time before proceeding. |
Time is collected without a date component. Use the Date and Time type if both a date and time are needed.
Date and Time
Section titled “Date and Time”Presents a combined picker for both a date and a time. The participant selects a day, month, year, hour, and minute in a single input.
Options
Section titled “Options”| Option | Description |
|---|---|
| Required | When enabled, the participant must complete both the date and time before proceeding. |
This type is the appropriate choice when a precise moment is needed rather than just a date or just a time.
Common behaviours
Section titled “Common behaviours”All three date and time question types share the following:
- They can be given a condition that controls whether the question is shown, based on a participant’s earlier answers. See Conditional Questions.
- They have a code field used to identify the question in exports and condition expressions.
- Question text supports rich text formatting.
- Date and time values are recorded in a standardised format in the response data, regardless of how the picker is displayed to the participant.