📅  最后修改于: 2022-03-11 14:52:04.382000             🧑  作者: Mango
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
Date date = new Date();
System.out.println(dateFormat.format(date)); //2013/10/15 16:16:39