Select String Variable to Convert to Date/Time Variable

  1. Select the string variable to convert in the Variables list. Note that the list displays only string variables.
  2. Select the pattern from the Patterns list that matches how dates are represented by the string variable. The Sample Values list displays actual values of the selected variable in the data file. Values of the string variable that do not fit the selected pattern result in a value of system-missing for the new variable.