|
@@ -23,6 +23,9 @@ public class test {
|
|
|
Date parse1 = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").parse("2021-09-27 00:05:25");
|
|
|
System.out.println(parse1);
|
|
|
|
|
|
+ new SimpleDateFormat("yyyyMMddHHmmss").parse("2021-09-27 00:05:25");
|
|
|
+
|
|
|
+
|
|
|
// String yyyyMMddhhmmss = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format(new Date());
|
|
|
// System.out.println(yyyyMMddhhmmss);
|
|
|
//
|