code: public static Expression dateTruncMillis(Expression expression, DatePart part) {
          return x("DATE_TRUNC_MILLIS(" + expression.toString() + ", \"" + part.toString() + "\")");
      }
docs: Returned expression results in UNIX timestamp that has been truncated so that the given date part
  is the least significant.