public static String format(Date date, String patten) {
        return getDateFormat(patten).format(date);
    }
format date

@param date
@param patten
@return
@throws ParseException
larkmidtable-web/larkmt-core/src/main/java/com/larkmt/core/util/DateUtil.java