时间格式 年月日时分秒毫秒时间:2025-02-17 10:24:09SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHHmmssSSS"); String time = (dNow); 注:毫秒的S要大写