code: public static Expression datePartStr(Expression expression, DatePartExt part) {
          return x("DATE_PART_STR(" + expression.toString() + ", \"" + part.toString() + "\")");
      }
docs: Returned expression results in Date part as an integer.
  The date expression is a string in a supported format, and part is one of the supported date part strings.