Date/time question type | LimeSurvey

Date/time

About Date/time

Date/time asks for a date, a time or both. Participants type the date or pick it from a calendar, so the answer always has the same format. Use it for birthdays, start dates, appointments or the date of an event.

A Date time question as participants see it, with the date field, the calendar button and the opened calendar

Participants click the calendar button next to the field to pick a date. The expected format is shown below the field, for example Format: mm-dd-yyyy.

Add a Date/time question

  1. Click the purple + in the top bar. The question type picker opens.

  2. Under Dates & data, click Date/time. The question appears at the end of the current question group.

  3. Click Your question here and type your question.

Settings that matter

Select the question to open its settings on the right. The main settings are on the Simple tab.

  • Minimum date and Maximum date: the earliest and latest date participants can enter, for example to keep birth dates in a plausible range.
  • Date/time format: the format of this question. Include hours and minutes to ask for a time as well. Without it, the question uses the date format of the survey.
  • Display dropdown boxes: shows dropdowns for day, month and year instead of the calendar. Handy for birth dates far in the past.
  • Month display style: shows months as Short names, Full names or Numbers in the dropdowns.
  • Minute step interval: the steps for minutes, for example 15 for quarter hours.

How the answers are stored

The answer is stored as a date, and as date and time when the format includes a time. In the export it is one column per question.

Next steps

FAQ

How do I change the date format participants see?

Set Date/time format in the question settings, or change the date format of the whole survey under Presentation > Presentation.

How do I limit the dates participants can pick?

Set Minimum date and Maximum date. The calendar then offers only the days in between.