Date Date date new Date();System.out.println(date);//Tue Feb 27 10:00:58 CST 2024System.out.println(date.toString());//Tue Feb 27 10:01:42 CST 2024System.out.println(date.getTime());//1669617690850//规范化SimpleDateFormat simpleDateFormat new SimpleDateF…