code: public static Expression datePartStr(String expression, DatePartExt part) {
          return datePartStr(x(expression), part);
      }
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.