code: def valueFromString(self, value, context=None):
          
          if value in ('today', 'now'):
              return datetime.datetime.utcnow()
          elif dateutil_parser:
              return dateutil_parser.parse(value)
          else:
              time_struct = time.strptime(value, self.defaultFormat())
              return datetime.datetime(time_struct.tm_year,
                                       time_struct.tm_month,
                                       time_struct.tm_day,
                                       time_struct.tm_hour,
                                       time_struct.tm_minute,
                                       time_struct.tm_sec)
docs: Converts the inputted string text to a value that matches the type from
          this column type.
  
          :param      value | <str>
                      extra | <variant>