Use the date widget to define a field where the user can specify a date with the help of a calendar. Associate this field with variable type date.
Initial values possible: java.util.Date or String (text must be in a form in which it can be parsed as a date. See figure below.)
Save to a variable: Date
See data handling.

