public function dateTime(string $format = DateTime::DISPLAY_FORMAT) : DateTimeFieldBuilder
    {
        return new DateTimeFieldBuilder($this->field->type(new DateTimeType($format)));
    }
public function dateTime(string $format = DateTime::DISPLAY_FORMAT) : DateTimeFieldBuilder
    {
        return new DateTimeFieldBuilder($this->field->type(new DateTimeType($format)));
    }
public function dateTime ( string $ format = DateTime :: DISPLAY_FORMAT ) : DateTimeFieldBuilder { return new DateTimeFieldBuilder ( $ this -> field -> type ( new DateTimeType ( $ format ) ) ) ; }
Validates the input with the supplied format and
converts the input to a DateTime instance.

@see Dms\Common\Structure\DateTime\DateTime

@param string $format

@return DateTimeFieldBuilder
Validates the input with the supplied format and converts the input to a DateTime instance .