The date/time input question type is used when you require the respondent to answer in date and/or time format. You can limit the choice to date input only, or time input only, via the appearance drop-down.
It is also possible to limit the date/time range that may be selected by the respondent. To do so, select define validity period. Then, select the start and end date/time of the validity period. You can choose to make dates/times valid within this period or outside this period, by selecting the appropriate option.
When you are satisfied with your question, click done to continue editing your project.
Details about the script code for date/time input questions can be found here: date/time input question (scripting).